diff --git a/Ports/python3/Setup.local b/Ports/python3/Setup.local index 0c94060ed6..2f7a988157 100644 --- a/Ports/python3/Setup.local +++ b/Ports/python3/Setup.local @@ -64,6 +64,7 @@ syslog syslogmodule.c unicodedata unicodedata.c xxlimited xxlimited.c xxsubtype xxsubtype.c +zlib zlibmodule.c -I$(SERENITY_ROOT)/Build/Root/usr/local/include -L$(SERENITY_ROOT)/Build/Root/usr/local/lib -lz *disabled* # Not building, patch Python some more or fix LibC... diff --git a/Ports/python3/package.sh b/Ports/python3/package.sh index 638d9bd56f..f1d97c650f 100755 --- a/Ports/python3/package.sh +++ b/Ports/python3/package.sh @@ -12,9 +12,9 @@ auth_type="sig" auth_import_key="E3FF2839C048B25C084DEBE9B26995E310250568" auth_opts="Python-${version}.tar.xz.asc Python-${version}.tar.xz" -# We could also add `ncurses`, `openssl`, and `zlib` here, but neither of the _curses, _ssl, and zlib +# We could also add `ncurses`/`termcap` and `openssl` here, but neither of the _curses nor _ssl # modules build at the moment even with those available, so it's pointless. -depends="libffi" +depends="libffi zlib" # 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.