Selaa lähdekoodia

Ports: Build python3 with libffi

This makes building the _ctypes module succeed. We still can't import
it, but hey, that's progress! :^)
Linus Groh 4 vuotta sitten
vanhempi
commit
efc091df81
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      Ports/python3/package.sh

+ 3 - 2
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.