diff options
| author | ruki <[email protected]> | 2021-09-27 22:40:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-27 22:40:17 +0800 |
| commit | c223db1bdd7e90d970b378e6d6755e977ceb4c6d (patch) | |
| tree | b0c16bbc54861f930a043f4a586d989a27532636 /tests/projects/swig/python_c/xmake.lua | |
| parent | 9128fe7d5b84a27831ae2535a16547bb0b9b7d8e (diff) | |
improve swig
Diffstat (limited to 'tests/projects/swig/python_c/xmake.lua')
| -rw-r--r-- | tests/projects/swig/python_c/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/swig/python_c/xmake.lua b/tests/projects/swig/python_c/xmake.lua index 89b13cbd4..7cc23e42b 100644 --- a/tests/projects/swig/python_c/xmake.lua +++ b/tests/projects/swig/python_c/xmake.lua @@ -2,7 +2,7 @@ add_rules("mode.release", "mode.debug") add_requires("python 3.x") target("example") - add_rules("swig.c") - add_files("src/example.i", {moduletype = "python", scriptdir = "share"}) + add_rules("swig.c", {moduletype = "python"}) + add_files("src/example.i", {scriptdir = "share"}) add_files("src/example.c") add_packages("python") |
