windows-build: added missed runtime dlls to x86 config

This commit is contained in:
Ilya Kitaev 2016-10-13 15:41:15 +03:00
parent 2d0a4caf76
commit 39d74f1f20

View file

@ -2,19 +2,25 @@
TARGET=$1
FILES="zlib1.dll libwinpthread-1.dll libtiff-5.dll libstdc++-6.dll libpng16-16.dll libpcre16-0.dll libpcre-1.dll libmng-2.dll liblzma-5.dll liblcms2-2.dll libjpeg-8.dll libjasper-1.dll libintl-8.dll libicuuc57.dll libicuin57.dll libicudt57.dll libiconv-2.dll libharfbuzz-0.dll libgraphite2.dll libglib-2.0-0.dll libgcc_s_seh-1.dll libgcc_s_dw2-1.dll libfreetype-6.dll libbz2-1.dll"
BUILD_TYPE=$2
echo $BUILD_TYPE
if [[ -z $BUILD_TYPE ]]; then
BUILD_TYPE=Release
fi
if [[ "$BUILD_TYPE" == "Release" ]]; then
ICU_FILES="libicuuc57.dll libicuin57.dll libicudt57.dll"
else
echo "Debug build"
ICU_FILES="libicuucd57.dll libicuind57.dll libicudtd57.dll"
fi
FILES="zlib1.dll libwinpthread-1.dll libtiff-5.dll libstdc++-6.dll libpng16-16.dll libpcre16-0.dll libpcre-1.dll libmng-2.dll liblzma-5.dll liblcms2-2.dll libjpeg-8.dll libjasper-1.dll libintl-8.dll libiconv-2.dll libharfbuzz-0.dll libgraphite2.dll libglib-2.0-0.dll libgcc_s_seh-1.dll libgcc_s_dw2-1.dll libfreetype-6.dll libbz2-1.dll"
for f in $FILES; do cp $MSYSTEM_PREFIX/bin/$f $TARGET; done
for f in $ICU_FILES; do cp $MSYSTEM_PREFIX/bin/$f $TARGET; done