From 9e00ce96c7a1706ed2a2558508df7b1ceefafea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 3 Dec 2025 14:55:30 +0200 Subject: [PATCH] build-python: Install the license files for libffi and python --- build-python.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-python.sh b/build-python.sh index 4f45ec7..a5f1450 100755 --- a/build-python.sh +++ b/build-python.sh @@ -134,6 +134,8 @@ cd $BUILDDIR ../configure --prefix="$PREFIX" --host=$HOST --disable-symvers --disable-docs $MAKE -j$CORES $MAKE install +mkdir -p "$PREFIX/share/libffi" +install -m644 ../LICENSE "$PREFIX/share/libffi/LICENSE.txt" cd ../.. cd cpython-mingw @@ -166,4 +168,6 @@ find $PREFIX/lib/python* -name __pycache__ | xargs rm -rf # a Python version that is supposed to be the primary Python. cp -a $PREFIX/bin/python3.exe $PREFIX/bin/python.exe +install -m644 ../LICENSE "$PREFIX/LICENSE.txt" + cd ../..