mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 23:12:02 +08:00
acfafdaa03
Add HOST_PYTHON3_PIP_VARS and --no-build-isolation to MAKE_VARS. Without --no-build-isolation, pip creates an isolated build environment which fails during cross-compilation because _sysconfigdata is missing. Aligns with python-selinux which already has this fix. The libsemanage pywrap uses the host Python's EXT_SUFFIX to name the C extension, so we will use the PYCEXT env-var to correct that. Add basic test.sh to verify the semanage Python bindings load correctly in environments without SELinux kernel support. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>