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