aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-08-03 16:34:22 +0000
committerDiego Biurrun <diego@biurrun.de>2006-08-03 16:34:22 +0000
commitdfeb80a5a97a9a6bbc48d7c7899308fa29714c8b (patch)
tree0d6cbae077bf83ea8937d9b3a709c7d619833ed2 /configure
parent5cb854e1c68330f5dd0ca13cabb2a9a58b53b7eb (diff)
downloadffmpeg-dfeb80a5a97a9a6bbc48d7c7899308fa29714c8b.tar.gz
Don't hardcode .dll in the MinGW section, use $SLIBSUF instead.
Originally committed as revision 5922 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 30ce3d51c8..e35561ad42 100755
--- a/configure
+++ b/configure
@@ -878,13 +878,13 @@ EOF
if test "$mingwce" = "yes"; then
protocols="no"
fi
- FFLDFLAGS='-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)'
SLIBPREF=""
SLIBSUF=".dll"
EXESUF=".exe"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(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_libdir" != yes; then bindir="$PREFIX"; fi
fi