summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 40b7613..2da0125 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,7 @@ PKG_CONFIG_PATH = $(PREFIX)/lib/pkgconfig
ifeq ($(OS),Darwin)
SHARED = -dynamiclib -Wl,-undefined,dynamic_lookup
+STRIP_ARGS = -u -r
else
SHARED = -shared
endif
@@ -107,7 +108,7 @@ utils.so: utils.pic.o
%-strip: %
$Mecho ' STRIP $<'
- $O$(STRIP) $<
+ $O$(STRIP) $(STRIP_ARGS) $<
strip: $(programs:%=%-strip)