From: Thomas Petazzoni Date: Tue, 18 Feb 2014 20:40:02 +0000 (+0100) Subject: python3: provide a PYTHON3_PATH X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb7667bf41d4ebb8a3de3c6bebdaadfa65ec775c;p=buildroot.git 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 --- 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))