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
pull/126/head
Diego Biurrun 19 years ago
parent e67bcdd985
commit 4874eef483
  1. 3
      configure

3
configure vendored

@ -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"

Loading…
Cancel
Save