summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorRodrigo Tobar <rtobarc@gmail.com>2021-09-26 00:10:15 +0800
committerLinus Groh <mail@linusgroh.de>2021-10-05 15:45:08 +0100
commit3c192f492a9a5696d5e84ebf7d811bce3f3d28a4 (patch)
tree35c9184f57bfe7ffaff18bb3d1e00b4d5783f851 /Ports
parentdc03c559df4c5e76814e4d3e4c5657ebb6187d9b (diff)
downloadserenity-3c192f492a9a5696d5e84ebf7d811bce3f3d28a4.zip
Ports: Compile Python against OpenSSL to gain ssl module
Compiling against an OpenSSL thread-enabled shared library (see #10207) lets Python compile its _ssl module, which yields an importable ssl module. The ssl module suffers from the same problem described in #10014 though, namely that python crashes when importing different modules results in multiple libcrypto.so loads, and its functions are later invoked by one of the modules. Once #10277 is merged though the module becomes quite usable.
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/python3/package.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/Ports/python3/package.sh b/Ports/python3/package.sh
index 51354ced57..eabbba42af 100755
--- a/Ports/python3/package.sh
+++ b/Ports/python3/package.sh
@@ -15,8 +15,7 @@ launcher_command="/usr/local/bin/python3"
launcher_run_in_terminal="true"
icon_file="../launcher.ico" # This is an older icon that's downloaded separately, so we need to go outside of $workdir
-# We could also add `openssl` here, but the _ssl modules doesn't build at the moment
-depends=("bzip2" "libffi" "libuuid" "ncurses" "readline" "sqlite" "termcap" "zlib")
+depends=("bzip2" "libffi" "libuuid" "ncurses" "openssl" "readline" "sqlite" "termcap" "zlib")
configopts=("--enable-optimizations" "--disable-ipv6" "--without-ensurepip" "ac_cv_file__dev_ptmx=no" "ac_cv_file__dev_ptc=no")