about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-11-14 20:34:34 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-11-14 20:34:34 +0000
commit4fcbf29211773e3bbe3e2d14349d770688421f6e (patch)
tree59607d34a5c2c44e2ded7b5c03d85629828c0e65 /Makefile
parentf5beb209d01086128c8b25e72a9de594032701b6 (diff)
downloadskalibs-4fcbf29211773e3bbe3e2d14349d770688421f6e.tar.gz
skalibs-4fcbf29211773e3bbe3e2d14349d770688421f6e.tar.xz
skalibs-4fcbf29211773e3bbe3e2d14349d770688421f6e.zip
- fix make strip v2.3.8.3
 - rc for 2.3.8.3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 99e500a..6292dca 100644
--- a/Makefile
+++ b/Makefile
@@ -68,8 +68,12 @@ tgz: distclean
 	exec rm -rf /tmp/$$package-$$version
 
 strip: $(ALL_LIBS)
+ifneq ($(strip $(STATIC_LIBS)),)
 	exec $(STRIP) -x -R .note -R .comment -R .note.GNU-stack $(STATIC_LIBS)
+endif
+ifneq ($(strip $(SHARED_LIBS)),)
 	exec $(STRIP) -R .note -R .comment -R .note.GNU-stack $(SHARED_LIBS)
+endif
 
 install: install-data install-sysdeps install-dynlib install-lib install-include
 install-data: $(ALL_DATA:src/etc/%=$(DESTDIR)$(datadir)/%)