Commit b89c8f58 authored by Ramiro Polla's avatar Ramiro Polla Committed by Diego Biurrun

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
parent 92c3ef65
...@@ -897,7 +897,7 @@ EOF ...@@ -897,7 +897,7 @@ EOF
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)' SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)' SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)'
SLIB_EXTRA_CMD="-lib /machine:i386 /def:\$(@:${SLIBSUF}=.def)" 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_prefix" != yes; then PREFIX="$PROGRAMFILES/FFmpeg"; fi
if test "$force_libdir" != yes; then bindir='${PREFIX}'; fi if test "$force_libdir" != yes; then bindir='${PREFIX}'; fi
shlibdir='${PREFIX}' shlibdir='${PREFIX}'
......
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