python-installer: use --prefix for install-path

Fixes https://github.com/openwrt/packages/issues/29177
Tested locally.

Fix provided by @xuanranran

Signed-off-by: Lovin Yarn <juanshengyuan@gmail.com>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
Alexandru Ardelean
2026-04-17 19:41:51 +03:00
committed by Alexandru Ardelean
parent bff9781478
commit 34717c6bce
+1 -2
View File
@@ -57,8 +57,7 @@ define Py3Host/Install/Installer
$(HOST_BUILD_DIR), \
-m installer \
--overwrite-existing \
--destdir "$(1)" \
--prefix "" \
--prefix "$(1)" \
"$(PYTHON3_HOST_BUILD_DIR)"/openwrt-build/$(PYTHON3_HOST_WHEEL_NAME)-$(PYTHON3_HOST_WHEEL_VERSION)-*.whl \
, \
$(PYTHON3_HOST_INSTALL_VARS) \