python-installer: use --prefix for install-path
authorAlexandru Ardelean <redacted>
Fri, 17 Apr 2026 16:41:51 +0000 (19:41 +0300)
committerAlexandru Ardelean <redacted>
Fri, 17 Apr 2026 16:44:51 +0000 (19:44 +0300)
Fixes https://github.com/openwrt/packages/issues/29177
Tested locally.

Fix provided by @xuanranran

Signed-off-by: Lovin Yarn <redacted>
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python3-host-build.mk

index 2ffaf22838cc7f621498c0cf5140717813421b28..820051c0681e21ad095f7f36b0669d69a83539da 100644 (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) \
git clone https://git.99rst.org/PROJECT