From 591af75d2e62244ecd5270d1c6f0f2df9bff76f4 Mon Sep 17 00:00:00 2001 From: Xuefer Date: Sat, 13 Dec 2014 18:12:03 +0800 Subject: [PATCH] python: whitespace fix for PYTHONPATH Seems that using += adds a space in the PYTHONPATH. Could be some other error, but at least this way it's sure to not leave any spaces. Thanks @Xuefer. Signed-off-by: Xuefer Tinys Signed-off-by: Alexandru Ardelean --- lang/python/files/python-package.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lang/python/files/python-package.mk b/lang/python/files/python-package.mk index 3a71d09b4a..9a999d4f06 100644 --- a/lang/python/files/python-package.mk +++ b/lang/python/files/python-package.mk @@ -20,8 +20,7 @@ PYTHON:=python$(PYTHON_VERSION) HOST_PYTHON_LIB_DIR:=$(STAGING_DIR_HOST)/lib/python$(PYTHON_VERSION) HOST_PYTHON_BIN:=$(STAGING_DIR_HOST)/bin/python2 -PYTHONPATH:=$(PYTHON_LIB_DIR):$(STAGING_DIR)/$(PYTHON_PKG_DIR) -PYTHONPATH+=:$(PKG_INSTALL_DIR)/$(PYTHON_PKG_DIR) +PYTHONPATH:=$(PYTHON_LIB_DIR):$(STAGING_DIR)/$(PYTHON_PKG_DIR):$(PKG_INSTALL_DIR)/$(PYTHON_PKG_DIR) define HostPython ( export PYTHONPATH="$(PYTHONPATH)"; \ export PYTHONOPTIMIZE=""; \ -- 2.30.2