Fixing make install target for MacOS - strip -x is the command to use here.

pull/869/head
Nicolas "Pixel" Noble 10 years ago
parent afcbfa1ba3
commit d7631a4822
  1. 8
      Makefile
  2. 8
      templates/Makefile.template

@ -143,7 +143,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

@ -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

Loading…
Cancel
Save