aboutsummaryrefslogtreecommitdiff
path: root/extra/python/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-10-06 10:57:05 +0300
committerCem Keylan <cem@ckyln.com>2021-10-06 10:57:05 +0300
commit625c59cf6062f96e0743080b2d18898359a6d180 (patch)
tree07f483a2c6796a769b7c0a5865b6b320103a8a63 /extra/python/build
parente4c93f0643152c2ef4bb7cd5d60297d8d0fb8a47 (diff)
downloadrepository-625c59cf6062f96e0743080b2d18898359a6d180.tar.gz
python: bump to 3.10.0
Diffstat (limited to 'extra/python/build')
-rwxr-xr-xextra/python/build20
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