do not directly install on macos
@@ -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)
