summaryrefslogtreecommitdiff
path: root/tests/projects/swig/lua_c/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-27 22:40:47 +0800
committerruki <[email protected]>2021-09-27 22:40:47 +0800
commit383c52d93446a72497b132ff6f38d2ef96817eeb (patch)
tree9290553e1f35c4a1c09bdcef9e11c3dfc215e28a /tests/projects/swig/lua_c/xmake.lua
parentc223db1bdd7e90d970b378e6d6755e977ceb4c6d (diff)
add swigflags
Diffstat (limited to 'tests/projects/swig/lua_c/xmake.lua')
-rw-r--r--tests/projects/swig/lua_c/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/swig/lua_c/xmake.lua b/tests/projects/swig/lua_c/xmake.lua
index 4ee0226ee..06dfac12b 100644
--- a/tests/projects/swig/lua_c/xmake.lua
+++ b/tests/projects/swig/lua_c/xmake.lua
@@ -3,6 +3,6 @@ add_requires("lua")
target("example")
add_rules("swig.c", {moduletype = "lua"})
- add_files("src/example.i")
+ add_files("src/example.i", {swigflags = "-no-old-metatable-bindings"})
add_files("src/example.c")
add_packages("lua")