copy dlls when cross building

This commit is contained in:
Dave Murphy 2012-04-10 12:02:39 +01:00
parent f54b0c9c89
commit b9e143372c

View File

@ -244,6 +244,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