cross compile with mingw

- improve defaults
  - fix linker errors

Change-Id: I7e1deb55fb616a3890510806593a0ab9a0a31d9a
Reviewed-by: Yuchen Deng <loaden@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Peter Kümmel 2012-08-18 16:12:49 +02:00 committed by Qt by Nokia
parent 194b62fb38
commit 07a978d3d4

8
configure vendored
View File

@ -1309,7 +1309,13 @@ while [ "$#" -gt 0 ]; do
;;
xplatform)
XPLATFORM="$VAL"
case `basename "$XPLATFORM"` in win32-g++*) XPLATFORM_MINGW=yes;; esac
case `basename "$XPLATFORM"` in win32-g++*)
XPLATFORM_MINGW=yes
CFG_RPATH=no
PKG_CONFIG=no
CFG_REDUCE_EXPORTS=no
;;
esac
;;
device)
XPLATFORM=`resolveDeviceMkspec $VAL`