From 34717c6bce81445a751fd90f7f0888c35ad50743 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Fri, 17 Apr 2026 19:41:51 +0300 Subject: [PATCH] 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 --- lang/python/python3-host-build.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lang/python/python3-host-build.mk b/lang/python/python3-host-build.mk index 2ffaf22838..820051c068 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) \