summaryrefslogtreecommitdiff
path: root/xmake/rules/module/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/module/xmake.lua')
-rw-r--r--xmake/rules/module/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/rules/module/xmake.lua b/xmake/rules/module/xmake.lua
index 34b3110ec..f70c71d7e 100644
--- a/xmake/rules/module/xmake.lua
+++ b/xmake/rules/module/xmake.lua
@@ -29,6 +29,7 @@ rule("module.binary")
rule("module.shared")
add_deps("utils.symbols.export_all")
on_load(function (target)
+ assert(not xmake.luajit(), "rule(module.shared) only support for lua54 runtime!")
import("core.project.config")
target:set("kind", "shared")
target:set("basename", "module_" .. target:name())