[FFmpeg-cvslog] configure: Remap -L to -libpath for msvc

Martin Storsjö git at videolan.org
Mon Jan 5 16:03:36 CET 2015


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Jan  2 23:29:27 2015 +0200| [f4d4e66a24a5c9497a5b6d3c089ac58089a87428] | committer: Martin Storsjö

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 at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f4d4e66a24a5c9497a5b6d3c089ac58089a87428
---

 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 48669a0..6648035 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



More information about the ffmpeg-cvslog mailing list