From 08f3896a072c6d05e36ec3fa4fd303ea550ee38f Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 4 Feb 2011 22:38:47 +0100 Subject: w32: Use additional library libiberty.a libiberty.a is part of MinGW and provides useful functions like ffs (MinGW) and getopt (MinGW-w64). It is needed for w64 compilations and allows simpler code for w32. Cc: Anthony Liguori Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index e3cecca62f..791b71d1fa 100755 --- a/configure +++ b/configure @@ -474,7 +474,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 -liphlpapi $LIBS" + LIBS="-lwinmm -lws2_32 -liberty -liphlpapi $LIBS" prefix="c:/Program Files/Qemu" mandir="\${prefix}" datadir="\${prefix}" -- cgit v1.2.3-55-g7522