summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWade Berrier <wberrier@gmail.com>2008-10-30 17:21:18 +0000
committerWade Berrier <wberrier@gmail.com>2008-10-30 17:21:18 +0000
commitd3f742f98a96901bea01a33dc85591dfdb42b359 (patch)
tree3013f1fc1a4a9a2b3fe75cb33583332bc2cccb54 /package
parentfc23ee8deaedaf7430d56cef72d2c050f7d30d0e (diff)
python: add $(STAGING_DIR)/usr/lib to PYTHON_MODULES_LIB so that
modules build correctly (particularly readline)
Diffstat (limited to 'package')
-rw-r--r--package/python/python.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/python/python.mk b/package/python/python.mk
index 6fc8e515e..ba2d23e77 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -117,7 +117,7 @@ ifneq ($(BR2_PACKAGE_PYTHON_SSL),y)
endif
$(MAKE) CC=$(TARGET_CC) -C $(PYTHON_DIR) DESTDIR=$(TARGET_DIR) \
PYTHON_MODULES_INCLUDE=$(STAGING_DIR)/usr/include \
- PYTHON_MODULES_LIB=$(STAGING_DIR)/lib \
+ PYTHON_MODULES_LIB="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \
PYTHON_DISABLE_MODULES="$(BR2_PYTHON_DISABLED_MODULES)" \
HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen
@@ -130,7 +130,7 @@ endif
$(MAKE) CC=$(TARGET_CC) -C $(PYTHON_DIR) install \
DESTDIR=$(TARGET_DIR) CROSS_COMPILE=yes \
PYTHON_MODULES_INCLUDE=$(STAGING_DIR)/usr/include \
- PYTHON_MODULES_LIB=$(STAGING_DIR)/lib \
+ PYTHON_MODULES_LIB="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \
PYTHON_DISABLE_MODULES="$(BR2_PYTHON_DISABLED_MODULES)" \
HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen && \
rm $(TARGET_DIR)/usr/bin/python && \