From 8a07e301cb06b033a39e502266d088771fb58583 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 17 Mar 2019 18:46:26 -0400 Subject: [PATCH] Fix "make install-strip" Signed-off-by: Theodore Ts'o --- lib/Makefile.bsd-lib | 2 +- lib/Makefile.darwin-lib | 2 +- lib/Makefile.elf-lib | 2 +- lib/Makefile.library | 2 ++ lib/Makefile.solaris-lib | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/Makefile.bsd-lib b/lib/Makefile.bsd-lib index db0947f..2792ba3 100644 --- a/lib/Makefile.bsd-lib +++ b/lib/Makefile.bsd-lib @@ -36,7 +36,7 @@ install-shlibs install:: $(BSD_LIB) install-strip: install -install-shlibs-strip: install-shlibs +install-shlibs-strip:: install-shlibs uninstall-shlibs uninstall:: $(RM) -f $(DESTDIR)$(BSDLIB_INSTALL_DIR)/$(BSD_LIB) diff --git a/lib/Makefile.darwin-lib b/lib/Makefile.darwin-lib index c94a5e7..95cdd4b 100644 --- a/lib/Makefile.darwin-lib +++ b/lib/Makefile.darwin-lib @@ -39,7 +39,7 @@ install-shlibs install:: $(BSD_LIB) install-strip: install -install-shlibs-strip: install-shlibs +install-shlibs-strip:: install-shlibs uninstall-shlibs uninstall:: $(RM) -f $(DESTDIR)$(BSDLIB_INSTALL_DIR)/$(BSD_LIB) diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib index bd7b2b3..f850f3d 100644 --- a/lib/Makefile.elf-lib +++ b/lib/Makefile.elf-lib @@ -58,7 +58,7 @@ install-strip: install $(Q) $(STRIP) --strip-unneeded --remove-section=.comment \ --remove-section=.note $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB) -install-shlibs-strip: install-shlibs +install-shlibs-strip:: install-shlibs $(E) " STRIP-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)" $(Q) $(STRIP) --strip-unneeded --remove-section=.comment \ --remove-section=.note $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB) diff --git a/lib/Makefile.library b/lib/Makefile.library index 1b86b02..f78467a 100644 --- a/lib/Makefile.library +++ b/lib/Makefile.library @@ -1,5 +1,7 @@ all:: subdirs $(LIBRARY).a +install-shlibs-strip:: + install-shlibs:: uninstall-shlibs:: diff --git a/lib/Makefile.solaris-lib b/lib/Makefile.solaris-lib index 304df7d..1e63636 100644 --- a/lib/Makefile.solaris-lib +++ b/lib/Makefile.solaris-lib @@ -50,7 +50,7 @@ install-shlibs install:: $(ELF_LIB) installdirs-elf-lib install-strip: install $(STRIP) -x $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB) -install-shlibs-strip: install-shlibs +install-shlibs-strip:: install-shlibs $(STRIP) -x $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB) uninstall-shlibs uninstall:: -- 1.8.3.1