diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-02-13 21:48:51 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-02-14 21:40:38 +0100 |
commit | fa50b8eee17600d328ad661d17252c7f7cc3dac4 (patch) | |
tree | 051c6f2e50f19fce6b26841833a78e9f5a1ea6ee /package | |
parent | 64b4fa7b256ff9d1f2bf9a2f7e50fd5c9b9ef8bf (diff) | |
download | buildroot-fa50b8eee17600d328ad661d17252c7f7cc3dac4.tar.gz buildroot-fa50b8eee17600d328ad661d17252c7f7cc3dac4.zip |
pkg-python: use the newly defined PYTHON_PATH variable
Now that the Python package exposes its PYTHON_PATH variable, we can
use it in the package infrastructure. This prepares both the upcoming
bump of Python 2.x, and the introduction of Python 3 support in the
Python package infrastructure.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/pkg-python.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkg-python.mk b/package/pkg-python.mk index f33980aaed..65c9b4adc3 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -48,7 +48,7 @@ HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPT = \ # Target setuptools-based packages PKG_PYTHON_SETUPTOOLS_ENV = \ PATH="$(TARGET_PATH)" \ - PYTHONPATH="$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" \ + PYTHONPATH="$(PYTHON_PATH)" \ PYTHONXCPREFIX="$(STAGING_DIR)/usr/" \ CROSS_COMPILING=yes \ _python_sysroot=$(STAGING_DIR) \ |