diff options
Diffstat (limited to 'source/d/python3/python3.SlackBuild')
-rwxr-xr-x | source/d/python3/python3.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/d/python3/python3.SlackBuild b/source/d/python3/python3.SlackBuild index 826f1eaf..b1090dd8 100755 --- a/source/d/python3/python3.SlackBuild +++ b/source/d/python3/python3.SlackBuild @@ -29,7 +29,7 @@ PKGNAM=python3 SRCNAM=Python VERSION=$(echo $SRCNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev) BRANCH_VERSION=$(echo $VERSION | cut -f 1,2 -d . ) -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -82,6 +82,9 @@ cd $SRCNAM-$VERSION || exit 1 zcat $CWD/python3.readline.set_pre_input_hook.diff.gz | patch -p1 --verbose || exit 1 +# We don't want a large libpython*.a. +zcat $CWD/python3.no-static-library.diff.gz | patch -p1 --verbose || exit 1 + if [ "$ARCH" = "x86_64" ]; then # Install to lib64 instead of lib. zcat $CWD/python.sysconfig.py.x86_64.diff.gz | patch -p1 --verbose || exit 1 @@ -115,7 +118,6 @@ find -L . \ --with-system-ffi \ --enable-loadable-sqlite-extensions \ --without-ensurepip \ - --without-static-libpython \ --build=$ARCH-slackware-linux || exit 1 make $NUMJOBS || make || exit 1 |