aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/Makefile.template
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-02-27 07:52:39 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-02-27 07:53:29 +0100
commitd7631a48225da071fa441d1007e59d888e340afb (patch)
treeffcde4f631107ccaf20c5ad4fb8ade86b50a6ff0 /templates/Makefile.template
parentafcbfa1ba3800d685346c61fa96c43b4b911d8cc (diff)
Fixing make install target for MacOS - strip -x is the command to use here.
Diffstat (limited to 'templates/Makefile.template')
-rw-r--r--templates/Makefile.template8
1 files changed, 8 insertions, 0 deletions
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