summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-25 13:09:38 +0800
committerTitanSnow <[email protected]>2017-05-25 13:09:38 +0800
commit67a5ad78de9453d14b562cd7c3f2a4364e370d24 (patch)
tree12cf30f239a65e356990f329e98a8bbeb0f16554
parentff1ba702befdf84ba0e872079305565dc62b6ca1 (diff)
Revert "use link on supported os in installation"
This reverts commit 4fafe79dd79efe67c3ed92362152a8aa883788c7.
-rw-r--r--makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/makefile b/makefile
index 312decc7c..723fe67f7 100644
--- a/makefile
+++ b/makefile
@@ -61,13 +61,9 @@ install:
@# install the xmake directory
@cp -r xmake/* $(xmake_dir_install)
@# make the xmake loader
-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)
-else
- @ln -s '$(xmake_core_install)' '$(xmake_loader)'
-endif
@# install the xmake loader
@if [ ! -d $(prefix)/bin ]; then mkdir -p $(prefix)/bin; fi
@mv $(xmake_loader) $(xmake_loader_install)