Browse Source

Merge pull request #2463 from jefferyto/host-python-with-system-ffi

python: use external libffi for host python
lilik-openwrt-22.03
Hannu Nyman 9 years ago
parent
commit
56688f68fd
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lang/python/Makefile

+ 2
- 1
lang/python/Makefile View File

@ -29,7 +29,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/Python-$(PKG_VERSION)
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/Python-$(PKG_VERSION) HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/Python-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=python/host PKG_BUILD_DEPENDS:=python/host
HOST_BUILD_DEPENDS:=bzip2/host expat/host
HOST_BUILD_DEPENDS:=bzip2/host expat/host libffi/host
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -222,6 +222,7 @@ HOST_CONFIGURE_ARGS+= \
--without-pymalloc \ --without-pymalloc \
--with-threads \ --with-threads \
--with-system-expat=$(STAGING_DIR)/host \ --with-system-expat=$(STAGING_DIR)/host \
--with-system-ffi="$(STAGING_DIR)/host" \
--with-ensurepip=upgrade \ --with-ensurepip=upgrade \
CONFIG_SITE= \ CONFIG_SITE= \
CFLAGS="$(HOST_CFLAGS)" CFLAGS="$(HOST_CFLAGS)"


Loading…
Cancel
Save