summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-14 00:13:15 +0800
committerruki <[email protected]>2020-02-13 19:19:34 +0800
commit01f5d8bbecf0f48576d7d8bbb65c6fdb62e36a9c (patch)
tree894677a8bc294bd5ae769b7005ace99a58bd386d /makefile
parent293d5e669f6350585e666ab60035aca49803985c (diff)
improve makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/makefile b/makefile
index 390d22af5..f0b1ce3e8 100644
--- a/makefile
+++ b/makefile
@@ -78,7 +78,9 @@ endif
xmake_dir_install :=$(prefix)/share/xmake
xmake_core :=./core/src/demo/demo.b
ifdef iswin
-xmake_core_install :=$(xmake_dir_install)/xmake.exe
+# we need load libmsys2.dll or cygwin1.dll on the bin directory
+# e.g. xmake l os.exec "xmake --version"
+xmake_core_install :=$(prefix)/bin/xmake.exe
else
xmake_core_install :=$(xmake_dir_install)/xmake
endif