summaryrefslogtreecommitdiff
path: root/core/src/demo/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/demo/xmake.lua')
-rw-r--r--core/src/demo/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua
index 1e33415ae..34bf4c0d2 100644
--- a/core/src/demo/xmake.lua
+++ b/core/src/demo/xmake.lua
@@ -31,7 +31,7 @@ target("demo")
add_ldflags("/export:malloc", "/export:free", "/export:memmove")
elseif is_plat("android") then
add_links("m", "c")
- elseif is_plat("macosx") then
+ elseif is_plat("macosx") and is_config("runtime", "luajit") then
add_ldflags("-all_load", "-pagezero_size 10000", "-image_base 100000000")
elseif is_plat("mingw") then
add_ldflags("-static-libgcc", {force = true})