From 3a7d6d072df33c766e18ad931e795d1a78449da3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 9 Sep 2019 13:19:14 +0300 Subject: [PATCH] python: fix builds sometimes not including pip/setuptools --- extra/python/build | 5 ++++- extra/python/depends | 1 + extra/python/version | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/extra/python/build b/extra/python/build index f9b5482f..2a036195 100755 --- a/extra/python/build +++ b/extra/python/build @@ -2,6 +2,9 @@ ./configure \ --prefix=/usr \ + --enable-shared \ + --with-system-expat \ + --with-system-ffi \ --with-ensurepip=install make @@ -11,4 +14,4 @@ ln -s python3 "$1/usr/bin/python" ln -s pip3 "$1/usr/bin/pip" # Make static library writable. -chmod -v u+w "$1/usr/lib/libpython"*.a +chmod -v u+w "$1/usr/lib/libpython"* diff --git a/extra/python/depends b/extra/python/depends index 2913301e..c49a19e5 100644 --- a/extra/python/depends +++ b/extra/python/depends @@ -1,3 +1,4 @@ bzip2 +expat libffi zlib diff --git a/extra/python/version b/extra/python/version index 700db6a1..eed034f5 100644 --- a/extra/python/version +++ b/extra/python/version @@ -1 +1 @@ -3.7.4 3 +3.7.4 4