summaryrefslogtreecommitdiff
path: root/tests/projects/other/native_module/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-03 00:44:55 +0800
committerruki <[email protected]>2024-04-03 00:44:55 +0800
commit1cb62a5d466173ce4e8690eb320c44d5ddd6e1e2 (patch)
tree8b573dd47167f04909784fac2b1bd58956ce9118 /tests/projects/other/native_module/test.lua
parent3099b75ce297e85be6c186f6ee1bf9fe644bdb95 (diff)
disable native shared module for luajit
Diffstat (limited to 'tests/projects/other/native_module/test.lua')
-rw-r--r--tests/projects/other/native_module/test.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/projects/other/native_module/test.lua b/tests/projects/other/native_module/test.lua
index b57362078..0c2735866 100644
--- a/tests/projects/other/native_module/test.lua
+++ b/tests/projects/other/native_module/test.lua
@@ -1,3 +1,5 @@
function main(t)
- t:build()
+ if not xmake.luajit() then
+ t:build()
+ end
end