summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-25 10:23:49 +0800
committerTitanSnow <[email protected]>2017-05-25 10:23:49 +0800
commit64e1e79a26f997e2f6f56360038507a33f6e8b0f (patch)
tree37bd78c90c33038215ca0729da3dcc568224af58
parent33826d1116e768e0ed262e22c026eb9dea23652c (diff)
do not directly install on macos
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 312decc7c..ac1b466c9 100644
--- a/makefile
+++ b/makefile
@@ -61,7 +61,7 @@ install:
@# install the xmake directory
@cp -r xmake/* $(xmake_dir_install)
@# make the xmake loader
-ifeq (,$(filter $(PLAT),linux macosx))
+ifneq ($(PLAT),linux)
@echo '#!/bin/bash' > $(xmake_loader)
@echo 'export XMAKE_PROGRAM_DIR=$(xmake_dir_install)' >> $(xmake_loader)
@echo '$(xmake_core_install) $(verbose) "$$@"' >> $(xmake_loader)