diff --git a/build-devkit.sh b/build-devkit.sh index 611e93f..7453320 100755 --- a/build-devkit.sh +++ b/build-devkit.sh @@ -254,6 +254,15 @@ if [ -f $scriptdir/build-gcc.sh ]; then . $scriptdir/build-gcc.sh || { echo "Err if [ -f $scriptdir/build-tools.sh ]; then . $scriptdir/build-tools.sh || { echo "Error building tools"; exit 1; }; cd $BUILDSCRIPTDIR; fi if [ -f $scriptdir/build-crtls.sh ]; then . $scriptdir/build-crtls.sh || { echo "Error building crtls"; exit 1; }; cd $BUILDSCRIPTDIR; fi +if [ $CROSSBUILD="i686-w64-mingw32" ]; then + if [ $VERSION -ne 3 ]; then + cp -v /opt/i686-w64-mingw32/mingw/lib/FreeImage.dll $prefix/bin + fi + cp -v /opt/i686-w64-mingw32/mingw/lib/libstdc++-6.dll \ + /opt/i686-w64-mingw32/mingw/lib/libgcc_s_sjlj-1.dll \ + $prefix/bin +fi + echo "stripping installed binaries" . ./strip_bins.sh