Updated windows build script because of argument list overflow in shell script (shorter paths)

This commit is contained in:
Matthias Koefferlein 2019-11-13 21:11:40 +01:00
parent 897ccb12bf
commit f768d012e5
1 changed files with 9 additions and 5 deletions

View File

@ -212,7 +212,9 @@ echo ']' >>$target/.python-paths.txt
# ---------------------------------------------------------- # ----------------------------------------------------------
# Binary dependencies # Binary dependencies
new_libs=$(find $target -name "*.dll" -or -name "*.so") pushd $target
new_libs=$(find . -name "*.dll" -or -name "*.so")
while [ "$new_libs" != "" ]; do while [ "$new_libs" != "" ]; do
@ -223,15 +225,17 @@ while [ "$new_libs" != "" ]; do
new_libs="" new_libs=""
for l in $libs; do for l in $libs; do
if [ -e $mingw_inst/bin/$l ] && ! [ -e $target/$l ]; then if [ -e $mingw_inst/bin/$l ] && ! [ -e $l ]; then
echo "Copying binary installation partial $mingw_inst/bin/$l -> $target/$l .." echo "Copying binary installation partial $mingw_inst/bin/$l -> $$l .."
cp $mingw_inst/bin/$l $target/$l cp $mingw_inst/bin/$l $l
new_libs="$new_libs $target/$l" new_libs="$new_libs $l"
fi fi
done done
done done
popd
# ---------------------------------------------------------- # ----------------------------------------------------------
# Run NSIS # Run NSIS