Merge pull request #896 from commodo/python-push
python: add ncurses(w) include folders for host python
This commit is contained in:
commit
47a9270fbd
1 changed files with 5 additions and 1 deletions
|
@ -191,6 +191,10 @@ define PyPackage/python-base/install
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
HOST_CFLAGS+= \
|
||||||
|
-I/usr/include/ncursesw \
|
||||||
|
-I/usr/include/ncurses
|
||||||
|
|
||||||
HOST_CONFIGURE_ARGS+= \
|
HOST_CONFIGURE_ARGS+= \
|
||||||
--without-cxx-main \
|
--without-cxx-main \
|
||||||
--without-pymalloc \
|
--without-pymalloc \
|
||||||
|
@ -198,7 +202,7 @@ HOST_CONFIGURE_ARGS+= \
|
||||||
--prefix=$(STAGING_DIR_HOST) \
|
--prefix=$(STAGING_DIR_HOST) \
|
||||||
--with-ensurepip=upgrade \
|
--with-ensurepip=upgrade \
|
||||||
CONFIG_SITE= \
|
CONFIG_SITE= \
|
||||||
OPT="$(HOST_CFLAGS)"
|
CFLAGS="$(HOST_CFLAGS)"
|
||||||
|
|
||||||
define Host/Install
|
define Host/Install
|
||||||
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
|
||||||
|
|
Loading…
Reference in a new issue