[Ffmpeg-cvslog] r5922 - trunk/configure

diego subversion
Thu Aug 3 18:34:23 CEST 2006


Author: diego
Date: Thu Aug  3 18:34:22 2006
New Revision: 5922

Modified:
   trunk/configure

Log:
Don't hardcode .dll in the MinGW section, use $SLIBSUF instead.


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Thu Aug  3 18:34:22 2006
@@ -878,13 +878,13 @@
     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




More information about the ffmpeg-cvslog mailing list