From 30a596b570d9524946acc39edcd45914c2c4dd61 Mon Sep 17 00:00:00 2001 From: SeokYeon Hwang Date: Wed, 5 Aug 2015 14:05:10 +0900 Subject: [PATCH] configure: add "-mwindows" when qt is enabled on windows Change-Id: I5ba4f0ce3f115c55cd9e0747326099a97eab1395 Signed-off-by: SeokYeon Hwang --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0c98bac..6b85a99 100755 --- a/configure +++ b/configure @@ -2216,7 +2216,12 @@ if test "$qt" != "no"; then if $pkg_config --exists "$qtpackage >= $qtversion"; then qt_cflags=`$pkg_config --cflags $qtpackage` qt_libs=`$pkg_config --libs $qtpackage` - libs_softmmu="$qt_libs $libs_softmmu" + + if test "$mingw32" = "no" ; then + libs_softmmu="$qt_libs $libs_softmmu" + else + libs_softmmu="$qt_libs -mwindows $libs_softmmu" + fi qt_cflags_private=`pkg-config --modversion Qt5Gui` if test "$darwin" = "yes" ; then -- 2.7.4