python: remove argument for `--with-system-ffi` configure arg (based on python3)
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 4 Jan 2017 09:42:34 +0000 (11:42 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 4 Jan 2017 13:08:36 +0000 (15:08 +0200)
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 <ardeleanalex@gmail.com>
lang/python/Makefile

index 4b677423c2396773b5e0796d546b210341024099..dedf8278782fa03255740c2b6a7bf28f6acb3790 100644 (file)
@@ -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)"