From: Alexandru Ardelean Date: Fri, 17 Apr 2026 16:41:51 +0000 (+0300) Subject: python-installer: use --prefix for install-path X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=34717c6bce81445a751fd90f7f0888c35ad50743;p=openwrt-packages.git 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 Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/python3-host-build.mk b/lang/python/python3-host-build.mk index 2ffaf2283..820051c06 100644 --- a/lang/python/python3-host-build.mk +++ b/lang/python/python3-host-build.mk @@ -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) \