From 3ad149fb283ffb06a7a0449873907d1dbf575864 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 14 Aug 2016 13:19:35 +0200 Subject: [PATCH] Workaround for uninstalling .so plugins Signed-off-by: Joachim Nilsson --- plugins/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 61cd73dd..1de5d984 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -101,4 +101,7 @@ endif # Clean up .la files installed by libtool despite being in -module mode install-exec-hook: @(cd $(DESTDIR)$(pkglibdir) && $(RM) $(pkglib_LTLIBRARIES)) + +uninstall-hook: + @(cd $(DESTDIR)$(pkglibdir) && for file in $(pkglib_LTLIBRARIES); do $(RM) `basename $$file .la`.so; done) endif