summaryrefslogtreecommitdiff
path: root/tests/projects/swig/python_c
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-24 22:45:56 +0800
committerruki <[email protected]>2021-09-24 22:45:56 +0800
commitc3b4b1882e06d80e2a3d2a81e4be594803d56c39 (patch)
tree9c8a4f01c417ec60b0b57d118ce5369fcedfac79 /tests/projects/swig/python_c
parentc2f3f280bcfd82618590e9872ddce19b56940ab0 (diff)
install swig scripts
Diffstat (limited to 'tests/projects/swig/python_c')
-rw-r--r--tests/projects/swig/python_c/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/swig/python_c/xmake.lua b/tests/projects/swig/python_c/xmake.lua
index 2b30079b6..89b13cbd4 100644
--- a/tests/projects/swig/python_c/xmake.lua
+++ b/tests/projects/swig/python_c/xmake.lua
@@ -3,6 +3,6 @@ add_requires("python 3.x")
target("example")
add_rules("swig.c")
- add_files("src/example.i", {moduletype = "python"})
+ add_files("src/example.i", {moduletype = "python", scriptdir = "share"})
add_files("src/example.c")
add_packages("python")