Shared libraries should go in $PREFIX on MinGW.
authorDiego Biurrun <diego@biurrun.de>
Fri, 4 Aug 2006 10:33:16 +0000 (10:33 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 4 Aug 2006 10:33:16 +0000 (10:33 +0000)
Originally committed as revision 5931 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index fbe7939..76e688b 100755 (executable)
--- a/configure
+++ b/configure
@@ -885,7 +885,8 @@ EOF
     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
+    if test "$force_libdir" != yes; then bindir='${PREFIX}'; fi
+    shlibdir='${PREFIX}'
 fi
 
 # Combine FFLDFLAGS, EXTRALDFLAGS and the LDFLAGS environment variable.