[Buildroot] [git commit branch/2025.08.x] package/libsemanage: install modules to site-packages dir
Arnout Vandecappelle
arnout at rnout.be
Wed Oct 22 16:38:57 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=3fa1ccdea14ff3f2defbd66da325543c54f19573
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.08.x
$(PREFIX)/lib/python$(PYTHON3_VERSION_MAJOR) is for the standard
library, additional modules like this should go to site-packages.
This patch changes only the host package because Python bindings are
disabled for the target package.
Signed-off-by: Fiona Klute <fiona.klute at gmx.de>
Signed-off-by: Julien Olivain <ju.o at free.fr>
(cherry picked from commit 8d79f712ce4a89f4100088d1c1865985fb0b0f6a)
Signed-off-by: Thomas Perale <thomas.perale at mind.be>
---
package/libsemanage/libsemanage.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/libsemanage/libsemanage.mk b/package/libsemanage/libsemanage.mk
index 21ca9fd3f9..63d5104c02 100644
--- a/package/libsemanage/libsemanage.mk
+++ b/package/libsemanage/libsemanage.mk
@@ -41,7 +41,7 @@ HOST_LIBSEMANAGE_MAKE_OPTS += \
SWIG_LIB="$(HOST_DIR)/share/swig/$(SWIG_VERSION)/" \
DEFAULT_SEMANAGE_CONF_LOCATION=$(HOST_DIR)/etc/selinux/semanage.conf \
PYINC="-I$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR)/" \
- PYTHONLIBDIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/" \
+ PYTHONLIBDIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages" \
PYLIBVER="python$(PYTHON3_VERSION_MAJOR)"
define HOST_LIBSEMANAGE_BUILD_CMDS
More information about the buildroot
mailing list