diff options
author | Martin Storsjö <martin@martin.st> | 2015-01-03 00:29:27 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-01-04 20:57:34 +0300 |
commit | f4d4e66a24a5c9497a5b6d3c089ac58089a87428 (patch) | |
tree | 186afd77384600a5cd60c29e6fbc2662e0ff2e8f /configure | |
parent | 3e160652219ff4da433f5672ae1e5f4956abb815 (diff) |
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>
Diffstat (limited to 'configure')
-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 |