build-python: Bump libffi to version 3.4.4
This is the latest release version. This requires a newer version of Autoconf than what is available out of the box in Ubuntu 20.04.
This commit is contained in:
1 parent
d21c2d4716
commit
a711bb4ed0
2 files changed
+13
-1
No files matched your search
@@ -16,6 +16,18 @@ RUN apt-get update -qq && \
|
|||||||
apt-get clean -y && \
|
apt-get clean -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Install Autoconf 2.71. Ubuntu 20.04 comes with Autoconf 2.69, but
|
||||||
|
# libffi 3.4.3 or newer requres Autoconf 2.71.
|
||||||
|
RUN curl -LO https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.xz && \
|
||||||
|
tar -Jxvf autoconf-*.tar.xz && \
|
||||||
|
rm autoconf-*.tar.xz && \
|
||||||
|
cd autoconf-* && \
|
||||||
|
./configure --prefix=/opt/autotools && \
|
||||||
|
make -j$(nproc) install && \
|
||||||
|
rm -rf autoconf-*
|
||||||
|
|
||||||
|
ENV PATH=/opt/autotools/bin:$PATH
|
||||||
|
|
||||||
COPY build-python.sh .
|
COPY build-python.sh .
|
||||||
|
|
||||||
ARG WITH_PYTHON
|
ARG WITH_PYTHON
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
: ${LIBFFI_VERSION:=v3.4.2}
|
: ${LIBFFI_VERSION:=v3.4.4}
|
||||||
: ${PYTHON_VERSION:=v3.11.4}
|
: ${PYTHON_VERSION:=v3.11.4}
|
||||||
: ${PYTHON_VERSION_MINGW:=95b1546da60ce10fc038f51790bf799d3780d37a}
|
: ${PYTHON_VERSION_MINGW:=95b1546da60ce10fc038f51790bf799d3780d37a}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user