diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2018-03-14 16:21:40 +0200 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2018-03-14 16:21:41 +0200 |
| commit | b6973e5deb5a3172f303f4717e039bcb79c49469 (patch) | |
| tree | 6b41d5f21bc5a20e363d0eaac8221fd7e3398915 /lang/python/python3 | |
| parent | ea62d1217caa286e22f1db1e9e53dc9b662ac1d6 (diff) | |
python,python3: remove `--with-system-ffi=no` config arg
Report https://github.com/openwrt/packages/issues/5638
It was mentioned that this causes build failures on Mac OS X.
The default behavior [in the setup.py script] is to check whether
`--with-system-ffi` is present in the CONFIG_ARGS env var.
However that back-fires a bit when `--with-system-ffi=no`, because the
condition `not '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS")`
evaluates to true.
This is a small bug in the `setup.py` script, but it looks like the
easiest/cleanest way to address it on our end is to just remove it entirely
from the HOST_CONFIGURE_ARGS.
At least that's how it looks like when testing on a Linux machine.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3')
| -rw-r--r-- | lang/python/python3/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 794a2bf75..85952c298 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -278,7 +278,6 @@ HOST_CONFIGURE_ARGS+= \ --prefix=$(HOST_PYTHON3_DIR) \ --exec-prefix=$(HOST_PYTHON3_DIR) \ --with-system-expat=$(STAGING_DIR_HOSTPKG) \ - --with-system-ffi=no \ --with-ensurepip=install \ CONFIG_SITE= |
