From: Ramiro Polla Date: Fri, 25 Aug 2006 15:53:16 +0000 (+0000) Subject: The FFLDFLAGS for MinGW are only meant for the shared libraries and not X-Git-Tag: v0.5~12021 X-Git-Url: https://git.libav.org/?p=libav.git;a=commitdiff_plain;h=b89c8f589af0fcb350614d9f49cf6ff2a5e92c43 The FFLDFLAGS for MinGW are only meant for the shared libraries and not all executables. So they should really be SHFLAGS. patch by Ramiro Polla, angustia at arrozcru d.t no-ip d.t org Originally committed as revision 6090 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/configure b/configure index 1794766463..01f76789b9 100755 --- a/configure +++ b/configure @@ -897,7 +897,7 @@ EOF SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)' SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)' SLIB_EXTRA_CMD="-lib /machine:i386 /def:\$(@:${SLIBSUF}=.def)" - FFLDFLAGS="-Wl,--output-def,\$(@:${SLIBSUF}=.def),--out-implib,lib\$(SLIBNAME:\$(SLIBSUF)=.dll.a)" + SHFLAGS="-shared -Wl,--output-def,\$(@:${SLIBSUF}=.def),--out-implib,lib\$(SLIBNAME:\$(SLIBSUF)=.dll.a)" if test "$force_prefix" != yes; then PREFIX="$PROGRAMFILES/FFmpeg"; fi if test "$force_libdir" != yes; then bindir='${PREFIX}'; fi shlibdir='${PREFIX}'