Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From d6215b9021482cc14bc0731a8ed23cd85b782cc6 Mon Sep 17 00:00:00 2001
- From: Petr Cvek <petrcvekcz@gmail.com>
- Date: Fri, 6 Sep 2019 12:25:45 +0200
- Subject: [PATCH 1/2] package/python: use system ffi
- Python bundled libffi for the host will fail the build on aarch64.
- Use the host-libffi for the compilation.
- Signed-off-by: Petr Cvek <petrcvekcz@gmail.com>
- ---
- package/python/python.mk | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
- diff --git a/package/python/python.mk b/package/python/python.mk
- index d1e70a015a..564c5dc11d 100644
- --- a/package/python/python.mk
- +++ b/package/python/python.mk
- @@ -34,7 +34,8 @@ HOST_PYTHON_CONF_OPTS += \
- --disable-bz2 \
- --disable-ssl \
- --disable-ossaudiodev \
- - --disable-pyo-build
- + --disable-pyo-build \
- + --with-system-ffi
- # Make sure that LD_LIBRARY_PATH overrides -rpath.
- # This is needed because libpython may be installed at the same time that
- @@ -56,7 +57,7 @@ HOST_PYTHON_MAKE = $(MAKE1)
- PYTHON_DEPENDENCIES = host-python libffi $(TARGET_NLS_DEPENDENCIES)
- -HOST_PYTHON_DEPENDENCIES = host-expat host-zlib
- +HOST_PYTHON_DEPENDENCIES = host-expat host-zlib host-libffi
- PYTHON_INSTALL_STAGING = YES
- --
- 2.23.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement