[FFmpeg-devel] [PATCH] build: Fix some paths in uninstall-libs

jamal jamrial at gmail.com
Fri Aug 3 22:13:27 CEST 2012


Folder and file names weren't being separated with a slash.
This resulted in .dll.a, .lib and .def files not being removed on uninstall.
---
 library.mak |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/library.mak b/library.mak
index 5cc3252..b1dd954 100644
--- a/library.mak
+++ b/library.mak
@@ -82,8 +82,8 @@ uninstall-libs::
 	-$(RM) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR)" \
 	       "$(SHLIBDIR)/$(SLIBNAME)"            \
 	       "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
-	-$(RM) $(SLIB_INSTALL_EXTRA_SHLIB:%="$(SHLIBDIR)"%)
-	-$(RM) $(SLIB_INSTALL_EXTRA_LIB:%="$(LIBDIR)"%)
+	-$(RM)  $(SLIB_INSTALL_EXTRA_SHLIB:%="$(SHLIBDIR)/%")
+	-$(RM)  $(SLIB_INSTALL_EXTRA_LIB:%="$(LIBDIR)/%")
 	-$(RM) "$(LIBDIR)/$(LIBNAME)"
 
 uninstall-headers::
-- 
1.7.8.6



More information about the ffmpeg-devel mailing list