diff options
| author | Wu, Zhenyu <[email protected]> | 2025-05-14 20:21:27 +0800 |
|---|---|---|
| committer | Wu, Zhenyu <[email protected]> | 2025-05-15 03:09:40 +0800 |
| commit | 86970cf42c4b3623650d51cc219af1bc39ac1865 (patch) | |
| tree | 1e732e9f5879a2ffcfc99c1c5a9ff0e65ece99ce /tests/projects/python | |
| parent | 5a582e2c201ecfb7a5eeb68a126e4842a2391cd2 (diff) | |
Rename python.library to python.module
Diffstat (limited to 'tests/projects/python')
| -rw-r--r-- | tests/projects/python/pybind/example/xmake.lua | 2 | ||||
| -rw-r--r-- | tests/projects/python/pybind/example_with_soabi/xmake.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/python/pybind/example/xmake.lua b/tests/projects/python/pybind/example/xmake.lua index 19b7b5a9e..93c200c57 100644 --- a/tests/projects/python/pybind/example/xmake.lua +++ b/tests/projects/python/pybind/example/xmake.lua @@ -2,7 +2,7 @@ add_rules("mode.release", "mode.debug") add_requires("pybind11") target("example") - add_rules("python.library") + add_rules("python.module") add_files("src/*.cpp") add_packages("pybind11") set_languages("c++11") diff --git a/tests/projects/python/pybind/example_with_soabi/xmake.lua b/tests/projects/python/pybind/example_with_soabi/xmake.lua index 12d8ad334..1b43713e8 100644 --- a/tests/projects/python/pybind/example_with_soabi/xmake.lua +++ b/tests/projects/python/pybind/example_with_soabi/xmake.lua @@ -2,7 +2,7 @@ add_rules("mode.release", "mode.debug") add_requires("pybind11") target("example") - add_rules("python.library", {soabi = true}) + add_rules("python.module", {soabi = true}) add_files("src/*.cpp") add_packages("pybind11") set_languages("c++11") |
