From 86970cf42c4b3623650d51cc219af1bc39ac1865 Mon Sep 17 00:00:00 2001 From: "Wu, Zhenyu" Date: Wed, 14 May 2025 20:21:27 +0800 Subject: Rename python.library to python.module --- tests/projects/python/pybind/example/xmake.lua | 2 +- tests/projects/python/pybind/example_with_soabi/xmake.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/projects/python') 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") -- cgit v1.3.1