pkg-python.mk: use PYTHON3_PATH instead of duplicating its value
authorAsaf Kahlon <asafka7@gmail.com>
Mon, 15 Jun 2020 18:46:32 +0000 (21:46 +0300)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 15 Jun 2020 20:56:12 +0000 (22:56 +0200)
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/pkg-python.mk

index 4bf762e662729f2ed41b3a878cdde7233dda2ff2..e5cd52003ef0e580036098b0f9157a83fb19a864 100644 (file)
@@ -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