From efc091df814fc3107d7d4b31f1510fd5f4e41913 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 21 Jan 2021 09:26:12 +0100 Subject: [PATCH] Ports: Build python3 with libffi This makes building the _ctypes module succeed. We still can't import it, but hey, that's progress! :^) --- Ports/python3/package.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Ports/python3/package.sh b/Ports/python3/package.sh index db5cda4677..3997195e4e 100755 --- a/Ports/python3/package.sh +++ b/Ports/python3/package.sh @@ -12,8 +12,9 @@ auth_type="sig" auth_import_key="E3FF2839C048B25C084DEBE9B26995E310250568" auth_opts="Python-${version}.tar.xz.asc Python-${version}.tar.xz" -# We could say depends="ncurses openssl zlib" here, but neither of the _curses, _ssl, and zlib modules -# build at the moment even with those available, so it's pointless. +# We could also add `ncurses`, `openssl`, and `zlib` here, but neither of the _curses, _ssl, and zlib +# modules build at the moment even with those available, so it's pointless. +depends="libffi" # FIXME: the --build value is detected correctly by the configure script (via config.guess in the Python source root), # but still needs to be set explicitly when cross compiling. Figure out how to not hardcode this.