From 9d876738b2569aaf25caa7fcef02e4041f12890f Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 4 Jan 2017 11:42:34 +0200 Subject: [PATCH] python: remove argument for `--with-system-ffi` configure arg (based on python3) And apparently `--with-system-ffi` does not take any arguments. But it's only in Python 3.6 that a check was added for that. After checking, Python 2.7 does not take any args either for `--with-system-ffi` ; so, remove it [for the case when this change may get backported]. Signed-off-by: Alexandru Ardelean --- lang/python/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/Makefile b/lang/python/Makefile index 4b677423c..dedf82787 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -127,7 +127,7 @@ CONFIGURE_ARGS+= \ --enable-shared \ --without-cxx-main \ --with-threads \ - --with-system-ffi="$(STAGING_DIR)/usr" \ + --with-system-ffi \ --without-pymalloc \ $(ENABLE_IPV6) \ CONFIG_SITE="$(PKG_BUILD_DIR)/config.site" \ @@ -227,7 +227,7 @@ HOST_CONFIGURE_ARGS+= \ --prefix=$(HOST_PYTHON_DIR) \ --exec-prefix=$(HOST_PYTHON_DIR) \ --with-system-expat=$(STAGING_DIR_HOSTPKG) \ - --with-system-ffi=$(STAGING_DIR_HOSTPKG) \ + --with-system-ffi \ CONFIG_SITE= \ CFLAGS="$(HOST_CFLAGS)"