Commit 4874eef4 authored by Diego Biurrun's avatar Diego Biurrun

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
parent e67bcdd9
...@@ -868,7 +868,8 @@ EOF ...@@ -868,7 +868,8 @@ EOF
if test "$mingwce" = "yes"; then if test "$mingwce" = "yes"; then
protocols="no" protocols="no"
fi 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="" SLIBPREF=""
SLIBSUF=".dll" SLIBSUF=".dll"
EXESUF=".exe" EXESUF=".exe"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment