build-python: Install the license files for libffi and python
This commit is contained in:
1 parent
83a3ca8e09
commit
9e00ce96c7
1 file changed
+4
@@ -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 ../..
|
||||
Reference in new issue
Block a user