blob: fa8baf973e873e847a9ce70d20f74782d168d738 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh -e
# FIXME: make curses and sqlite work
cat >> Modules/Setup <<EOF
*disabled*
_curses _curses_panel _sqlite3
EOF
for patch in *.patch; do
patch -p1 < $patch
done
export CFLAGS="$CFLAGS -fno-semantic-interposition"
export LDFLAGS="$LDFLAGS -fno-semantic-interposition"
./configure \
--prefix=/usr \
--enable-shared \
--with-ensurepip=yes \
--with-openssl=/usr/openssl/1.1 \
--without-doc-strings
gmake EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000"
gmake DESTDIR=$1 install
|