Skip to content

Commit 06af258

Browse files
committed
Hotfix: add Win32 mingw32 libs into installer
1 parent d904c44 commit 06af258

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

installer/packages/qreal-base/ru.qreal.root/meta/prebuild-win32.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -o nounset
33
set -o errexit
4-
4+
set -x
55
cd "$(dirname "$0")"
66

77

@@ -46,8 +46,10 @@ rsync -a "$QT_LIB"/Qt5Xml.dll "$PWD"/../d
4646
rsync -a "$QT_LIB"/Qt5Script.dll "$PWD"/../data
4747
rsync -a "$QT_LIB"/Qt5Test.dll "$PWD"/../data
4848
rsync -a "$QT_LIB"/Qt5Concurrent.dll "$PWD"/../data
49-
rsync -a "$QT_LIB"/ "$PWD"/../data
50-
rsync -a --ignore-missing-args "$QT_LIB"/{libgcc_s_*-1.dll,libwinpthread-1.dll,libstdc++-6.dll} "$PWD"/../data
49+
where \$path:lib{gcc_s_,winpthread-,stdc\+\+-}\*\.dll \
50+
| dos2unix \
51+
| xargs -rd \\n cygpath -au \
52+
| rsync -a --no-relative --files-from=- / "$PWD"/../data
5153

5254
rsync -a "$QT_LIB"/../plugins/platforms/q{windows,offscreen,minimal}.dll "$PWD"/../data/platforms
5355
rsync -a "$QT_LIB"/../plugins/imageformats/qsvg.dll "$PWD"/../data/imageformats

0 commit comments

Comments
 (0)