mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Don't hardcode .dll in the MinGW section, use $SLIBSUF instead.
Originally committed as revision 5922 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5cb854e1c6
commit
dfeb80a5a9
4
configure
vendored
4
configure
vendored
@ -878,13 +878,13 @@ EOF
|
|||||||
if test "$mingwce" = "yes"; then
|
if test "$mingwce" = "yes"; then
|
||||||
protocols="no"
|
protocols="no"
|
||||||
fi
|
fi
|
||||||
FFLDFLAGS='-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)'
|
|
||||||
SLIBPREF=""
|
SLIBPREF=""
|
||||||
SLIBSUF=".dll"
|
SLIBSUF=".dll"
|
||||||
EXESUF=".exe"
|
EXESUF=".exe"
|
||||||
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:$(@:.dll=.def)'
|
SLIB_EXTRA_CMD="-lib /machine:i386 /def:\$(@:${SLIBSUF}=.def)"
|
||||||
|
FFLDFLAGS="-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
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user