diff options
| author | Steven Barth <steven@midlink.org> | 2014-12-09 15:50:50 +0100 |
|---|---|---|
| committer | Steven Barth <steven@midlink.org> | 2014-12-09 15:50:50 +0100 |
| commit | 91df26017a8b485dfc8b5678ee93c7a42761e4cb (patch) | |
| tree | 1d628704183529d665254bde0f883b39b4300473 /lang/python3/files/python3-package.mk | |
| parent | 81545ba2814eb23f4fda78565f2d2de892c8ad18 (diff) | |
| parent | 9e639dbf87f501a77f77a5afc059f039c2b7ca93 (diff) | |
Merge pull request #620 from commodo/python3-update
Python3 update
Diffstat (limited to 'lang/python3/files/python3-package.mk')
| -rw-r--r-- | lang/python3/files/python3-package.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/python3/files/python3-package.mk b/lang/python3/files/python3-package.mk index a345c8124..9ab2da9e9 100644 --- a/lang/python3/files/python3-package.mk +++ b/lang/python3/files/python3-package.mk @@ -20,7 +20,8 @@ PYTHON3:=python$(PYTHON3_VERSION) HOST_PYTHON3_LIB_DIR:=$(STAGING_DIR_HOST)/lib/python$(PYTHON3_VERSION) HOST_PYTHON3_BIN:=$(STAGING_DIR_HOST)/bin/python3 -PYTHON3PATH="$(PYTHON3_LIB_DIR):$(STAGING_DIR)/$(PYTHON3_PKG_DIR)" +PYTHON3PATH:=$(PYTHON3_LIB_DIR):$(STAGING_DIR)/$(PYTHON3_PKG_DIR) +PYTHON3PATH+=:$(PKG_INSTALL_DIR)/$(PYTHON3_PKG_DIR) define HostPython3 ( export PYTHONPATH="$(PYTHON3PATH)"; \ export PYTHONOPTIMIZE=""; \ @@ -79,6 +80,7 @@ endef # $(2) => additional arguments to setup.py # $(3) => additional variables define Build/Compile/Py3Mod + $(INSTALL_DIR) $(PKG_INSTALL_DIR)/$(PYTHON3_PKG_DIR) $(call HostPython3, \ cd $(PKG_BUILD_DIR)/$(strip $(1)); \ CC="$(TARGET_CC)" \ |
