The FFLDFLAGS for MinGW are only meant for the shared libraries and not
authorRamiro Polla <ramiro@lisha.ufsc.br>
Fri, 25 Aug 2006 15:53:16 +0000 (15:53 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 25 Aug 2006 15:53:16 +0000 (15:53 +0000)
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

configure

index 1794766..01f7678 100755 (executable)
--- 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)"
     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}'
     if test "$force_prefix" != yes; then PREFIX="$PROGRAMFILES/FFmpeg"; fi
     if test "$force_libdir" != yes; then bindir='${PREFIX}'; fi
     shlibdir='${PREFIX}'