diff --git a/installer/packages/qreal-base/ru.qreal.root/meta/prebuild-win32.sh b/installer/packages/qreal-base/ru.qreal.root/meta/prebuild-win32.sh index 1c2a18b684..e4474b4409 100644 --- a/installer/packages/qreal-base/ru.qreal.root/meta/prebuild-win32.sh +++ b/installer/packages/qreal-base/ru.qreal.root/meta/prebuild-win32.sh @@ -1,7 +1,7 @@ #!/bin/bash set -o nounset set -o errexit - +set -x cd "$(dirname "$0")" @@ -46,8 +46,10 @@ rsync -a "$QT_LIB"/Qt5Xml.dll "$PWD"/../d rsync -a "$QT_LIB"/Qt5Script.dll "$PWD"/../data rsync -a "$QT_LIB"/Qt5Test.dll "$PWD"/../data rsync -a "$QT_LIB"/Qt5Concurrent.dll "$PWD"/../data -rsync -a "$QT_LIB"/ "$PWD"/../data -rsync -a --ignore-missing-args "$QT_LIB"/{libgcc_s_*-1.dll,libwinpthread-1.dll,libstdc++-6.dll} "$PWD"/../data +where \$path:lib{gcc_s_,winpthread-,stdc\+\+-}\*\.dll \ + | dos2unix \ + | xargs -rd \\n cygpath -au \ + | rsync -a --no-relative --files-from=- / "$PWD"/../data rsync -a "$QT_LIB"/../plugins/platforms/q{windows,offscreen,minimal}.dll "$PWD"/../data/platforms rsync -a "$QT_LIB"/../plugins/imageformats/qsvg.dll "$PWD"/../data/imageformats