summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-01-02 23:29:27 +0200
committerMartin Storsjö <martin@martin.st>2015-01-04 19:57:34 +0200
commitf4d4e66a24a5c9497a5b6d3c089ac58089a87428 (patch)
tree186afd77384600a5cd60c29e6fbc2662e0ff2e8f /configure
parent3e160652219ff4da433f5672ae1e5f4956abb815 (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-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 48669a0e27..6648035709 100755
--- a/configure
+++ b/configure
@@ -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