diff options
Diffstat (limited to 'extra/python/build')
-rwxr-xr-x | extra/python/build | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/python/build b/extra/python/build index ba2b93bf..50532a5b 100755 --- a/extra/python/build +++ b/extra/python/build @@ -1,5 +1,23 @@ #!/bin/sh -e +# Forgive me father, for I have sinned. +( + cd openssl + + ./Configure \ + --prefix=/usr \ + --openssldir=/etc/ssl \ + --libdir=lib \ + no-unit-test \ + no-shared \ + linux-x86_64 + + make depend + make + + make DESTDIR=$PWD/pkg install_sw +) + patch -p1 < python3-always-pip.patch ./configure \ @@ -8,6 +26,8 @@ patch -p1 < python3-always-pip.patch --enable-static \ --with-system-expat \ --with-system-ffi \ + --with-openssl="$PWD/openssl/pkg/usr" \ + --with-openssl-rpath=no \ --with-ensurepip=yes make |