Skip to content

Commit

Permalink
Merge pull request openwrt#896 from commodo/python-push
Browse files Browse the repository at this point in the history
python: add ncurses(w) include folders for host python
  • Loading branch information
sbyx committed Feb 17, 2015
2 parents d24359b + 705b381 commit 47a9270
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lang/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,18 @@ 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 \
--with-threads \
--prefix=$(STAGING_DIR_HOST) \
--with-ensurepip=upgrade \
CONFIG_SITE= \
OPT="$(HOST_CFLAGS)"
CFLAGS="$(HOST_CFLAGS)"

define Host/Install
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
Expand Down

0 comments on commit 47a9270

Please sign in to comment.