summaryrefslogtreecommitdiff
path: root/tests/projects/other/native_module/test.lua
diff options
context:
space:
mode:
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