Win32 build: Fixes for cross-compiling.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20582 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2011-04-22 12:52:43 +00:00
parent 80c7c883b8
commit 46ddf9c873

View File

@ -174,9 +174,13 @@ function inst_mingw() {
fi
quiet test_for_mingw || die "mingw not installed correctly"
fi
cp ${_MINGW_UDIR}/bin/libpthread-2.dll ${_MINGW_UDIR}/bin/pthreadGC2.dll
configure_msys "$_PID" "$_MINGW_WFSDIR"
if [ "$CROSS_COMPILE" != "yes" ]; then
# Some preparation steps, only for native (non-cross-compile)
cp ${_MINGW_UDIR}/bin/libpthread-2.dll ${_MINGW_UDIR}/bin/pthreadGC2.dll
configure_msys "$_PID" "$_MINGW_WFSDIR"
fi
}
function inst_mingwutils() {