diff options
author | Martin Storsjö <martin@martin.st> | 2015-01-02 23:29:27 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-01-04 19:57:34 +0200 |
commit | f4d4e66a24a5c9497a5b6d3c089ac58089a87428 (patch) | |
tree | 186afd77384600a5cd60c29e6fbc2662e0ff2e8f | |
parent | 3e160652219ff4da433f5672ae1e5f4956abb815 (diff) | |
download | ffmpeg-f4d4e66a24a5c9497a5b6d3c089ac58089a87428.tar.gz |
configure: Remap -L to -libpath for msvc
This allows using libraries that are detected via pkg-config with
msvc. (The libraries themselves may have to be built with MSVC
though.)
Signed-off-by: Martin Storsjö <martin@martin.st>
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2702,6 +2702,7 @@ msvc_common_flags(){ -lavifil32) echo vfw32.lib ;; -lavicap32) echo vfw32.lib user32.lib ;; -l*) echo ${flag#-l}.lib ;; + -L*) echo -libpath:${flag#-L} ;; *) echo $flag ;; esac done |