commit 47a9270fbdb5c68fa51f5f89d9e0f3b5b5c5b9ce
parent d24359b7304414bb2193df0c9c9fc1433b0d6c46
Author: Steven Barth <steven@midlink.org>
Date: Tue, 17 Feb 2015 15:53:10 +0100
Merge pull request #896 from commodo/python-push
python: add ncurses(w) include folders for host python
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lang/python/Makefile b/lang/python/Makefile
@@ -191,6 +191,10 @@ define PyPackage/python-base/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib/
endef
+HOST_CFLAGS+= \
+ -I/usr/include/ncursesw \
+ -I/usr/include/ncurses
+
HOST_CONFIGURE_ARGS+= \
--without-cxx-main \
--without-pymalloc \
@@ -198,7 +202,7 @@ HOST_CONFIGURE_ARGS+= \
--prefix=$(STAGING_DIR_HOST) \
--with-ensurepip=upgrade \
CONFIG_SITE= \
- OPT="$(HOST_CFLAGS)"
+ CFLAGS="$(HOST_CFLAGS)"
define Host/Install
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/