[SCM] libav/experimental: MinGW should set FFLDFLAGS and not LDFLAGS so that the LDFLAGS env var works.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:48:59 UTC 2013


The following commit has been merged in the experimental branch:
commit 4874eef48302d2709175b698361f91c680b76bf5
Author: Diego Biurrun <diego at biurrun.de>
Date:   Mon Jul 10 01:15:29 2006 +0000

    MinGW should set FFLDFLAGS and not LDFLAGS so that the LDFLAGS env var works.
    
    Originally committed as revision 5703 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 8bd9957..d80c0e4 100755
--- a/configure
+++ b/configure
@@ -868,7 +868,8 @@ EOF
     if test "$mingwce" = "yes"; then
         protocols="no"
     fi
-    LDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
+    #FIXME: This ignores --extra-ldflags.
+    FFLDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
     SLIBPREF=""
     SLIBSUF=".dll"
     EXESUF=".exe"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list