[Buildroot] [PATCH 1/1] pkg-python.mk: use PYTHON3_PATH instead of duplicating its value

Asaf Kahlon asafka7 at gmail.com
Mon Jun 15 18:46:32 UTC 2020


Signed-off-by: Asaf Kahlon <asafka7 at gmail.com>
---
 package/pkg-python.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/pkg-python.mk b/package/pkg-python.mk
index 4bf762e662..e5cd52003e 100644
--- a/package/pkg-python.mk
+++ b/package/pkg-python.mk
@@ -21,7 +21,7 @@
 ################################################################################
 
 define PKG_PYTHON_SYSCONFIGDATA_NAME
-$(basename $(notdir $(wildcard $(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/_sysconfigdata__linux_*.py)))
+$(basename $(notdir $(wildcard $(PYTHON3_PATH)/_sysconfigdata__linux_*.py)))
 endef
 
 # Target distutils-based packages
-- 
2.26.2



More information about the buildroot mailing list