Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-01-03 00:29:27 +0300
committerMartin Storsjö <martin@martin.st>2015-01-04 20:57:34 +0300
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