From d7631a48225da071fa441d1007e59d888e340afb Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 27 Feb 2015 07:52:39 +0100 Subject: Fixing make install target for MacOS - strip -x is the command to use here. --- templates/Makefile.template | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'templates/Makefile.template') diff --git a/templates/Makefile.template b/templates/Makefile.template index 226bf07bb0..491f142142 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -160,7 +160,15 @@ CXX = $(CXX_$(CONFIG)) LD = $(LD_$(CONFIG)) LDXX = $(LDXX_$(CONFIG)) AR = ar +ifeq ($(SYSTEM),Linux) STRIP = strip --strip-unneeded +else +ifeq ($(SYSTEM),Darwin) +STRIP = strip -x +else +STRIP = strip +endif +endif INSTALL = install RM = rm -f -- cgit v1.2.3