mingw32: Restore creation of import libraries. They are still not being
authorRamiro Polla <ramiro.polla@gmail.com>
Sun, 29 Mar 2009 03:42:32 +0000 (03:42 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Sun, 29 Mar 2009 03:42:32 +0000 (03:42 +0000)
installed, but they're good for creating -dev packages.

Originally committed as revision 18214 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index dcf159b..b34b9c9 100755 (executable)
--- a/configure
+++ b/configure
@@ -1607,7 +1607,7 @@ case $target_os in
         SLIB_INSTALL_EXTRA_CMD='-install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME:$(SLIBSUF)=.lib)"; \
             install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)"'
         SLIB_UNINSTALL_EXTRA_CMD='rm -f "$(SHLIBDIR)/$(SLIBNAME:$(SLIBSUF)=.lib)"'
-        SHFLAGS='-shared -Wl,--output-def,$$(@:$(SLIBSUF)=.def) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base'
+        SHFLAGS='-shared -Wl,--output-def,$$(@:$(SLIBSUF)=.def) -Wl,--out-implib,$(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base'
         objformat="win32"
         enable dos_paths
         if ! enabled x86_64; then