From 705b381b5b0a1a382ce276122576bacb660ce5e9 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Tue, 10 Feb 2015 21:22:20 +0200 Subject: [PATCH] python: add ncurses(w) include folders for host python Signed-off-by: Alexandru Ardelean --- lang/python/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lang/python/Makefile b/lang/python/Makefile index 0c1be6de8..d33ede892 100644 --- 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/