From f4d4e66a24a5c9497a5b6d3c089ac58089a87428 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Fri, 2 Jan 2015 23:29:27 +0200 Subject: configure: Remap -L to -libpath for msvc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ö --- configure | 1 + 1 file changed, 1 insertion(+) (limited to 'configure') 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 -- cgit v1.2.3