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 ../..