Add SLIB_UNINSTALL_EXTRA_CMD for MinGW.
authorDiego Biurrun <diego@biurrun.de>
Wed, 17 Oct 2007 13:52:46 +0000 (13:52 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 17 Oct 2007 13:52:46 +0000 (13:52 +0000)
based on a patch by Dave Yeo, daveryeo telus net

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

configure

index 79f1832..94f04ce 100755 (executable)
--- a/configure
+++ b/configure
@@ -1184,6 +1184,7 @@ case $targetos in
     SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)'
     SLIB_EXTRA_CMD='-lib /machine:i386 /def:$(@:$(SLIBSUF)=.def)'
     SLIB_INSTALL_EXTRA_CMD='-install -m 644 $(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)"'
+    SLIB_UNINSTALL_EXTRA_CMD='rm -f "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)"'
     SHFLAGS='-shared -Wl,--output-def,$(@:$(SLIBSUF)=.def) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base'
     ;;
   cygwin*)