qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] MinGW compilation shouldn't include -lglib-2.0 etc.
@ 2011-07-27 15:50 Kenneth Salerno
  2011-07-27 15:56 ` Daniel P. Berrange
  0 siblings, 1 reply; 7+ messages in thread
From: Kenneth Salerno @ 2011-07-27 15:50 UTC (permalink / raw)
  To: qemu-devel

Should check first if using a mingw compiler before forcing the addition of -lglib-2.0, -liconv, and -lintl to $LIBS of config-target.mak.


Signed-off-by: Kenneth Salerno <kennethsalerno@yahoo.com>
--- configure.ORIG      2011-07-27 11:28:16.859375000 -0400
+++ configure   2011-07-27 11:43:59.859375000 -0400
@@ -1824,9 +1824,11 @@
 # glib support probe
 if $pkg_config --modversion glib-2.0 > /dev/null 2>&1 ; then
     glib_cflags=`$pkg_config --cflags glib-2.0 2>/dev/null`
-    glib_libs=`$pkg_config --libs glib-2.0 2>/dev/null`
-    libs_softmmu="$glib_libs $libs_softmmu"
-    libs_tools="$glib_libs $libs_tools"
+    if test "$mingw32" != "yes" ; then
+        glib_libs=`$pkg_config --libs glib-2.0 2>/dev/null`
+        libs_softmmu="$glib_libs $libs_softmmu"
+        libs_tools="$glib_libs $libs_tools"
+    fi
 else
     echo "glib-2.0 required to compile QEMU"
     exit 1



Regards,
Ken

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-27 21:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-27 15:50 [Qemu-devel] [PATCH] MinGW compilation shouldn't include -lglib-2.0 etc Kenneth Salerno
2011-07-27 15:56 ` Daniel P. Berrange
2011-07-27 20:46   ` Kenneth Salerno
2011-07-27 20:50     ` Anthony Liguori
2011-07-27 21:13     ` Stefan Weil
2011-07-27 21:29       ` Kenneth Salerno
2011-07-27 21:27     ` [Qemu-devel] " Jernej Simončič

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).