From eb7667bf41d4ebb8a3de3c6bebdaadfa65ec775c Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 18 Feb 2014 21:40:02 +0100 Subject: [PATCH] python3: provide a PYTHON3_PATH The Python package infrastructure will need the Python 3 package to provide a PYTHON3_PATH environment variable in order to build third-party Python modules. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/python3/python3.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/python3/python3.mk b/package/python3/python3.mk index ad9b989095..1bf85004d0 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -147,5 +147,8 @@ endef HOST_PYTHON3_POST_INSTALL_HOOKS += HOST_PYTHON3_INSTALL_SYMLINK +# Provided to other packages +PYTHON3_PATH = $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/sysconfigdata/:$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/ + $(eval $(autotools-package)) $(eval $(host-autotools-package)) -- 2.30.2