qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v1] ./configure: use -lole32 when building with mingw32
@ 2012-02-15 16:41 Meador Inge
  2012-02-15 16:49 ` Peter Maydell
  2012-02-15 19:40 ` Stefan Weil
  0 siblings, 2 replies; 5+ messages in thread
From: Meador Inge @ 2012-02-15 16:41 UTC (permalink / raw)
  To: qemu-devel

glib calls 'CoTaskMemFree' which is defined by ole32.dll.
Therefore when building with mingw32 -lole32 should be in
'LIBS'.

Signed-off-by: Meador Inge <meadori@codesourcery.com>
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 88521d2..40caf81 100755
--- a/configure
+++ b/configure
@@ -502,7 +502,7 @@ if test "$mingw32" = "yes" ; then
   QEMU_CFLAGS="-DWIN32_LEAN_AND_MEAN -DWINVER=0x501 $QEMU_CFLAGS"
   # enable C99/POSIX format strings (needs mingw32-runtime 3.15 or later)
   QEMU_CFLAGS="-D__USE_MINGW_ANSI_STDIO=1 $QEMU_CFLAGS"
-  LIBS="-lwinmm -lws2_32 -liberty -liphlpapi $LIBS"
+  LIBS="-lole32 -lwinmm -lws2_32 -liberty -liphlpapi $LIBS"
   prefix="c:/Program Files/Qemu"
   mandir="\${prefix}"
   datadir="\${prefix}"
-- 
1.7.7.6

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

end of thread, other threads:[~2012-02-15 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-15 16:41 [Qemu-devel] [PATCH v1] ./configure: use -lole32 when building with mingw32 Meador Inge
2012-02-15 16:49 ` Peter Maydell
2012-02-15 17:18   ` Paolo Bonzini
2012-02-15 17:19   ` Meador Inge
2012-02-15 19:40 ` Stefan Weil

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).