aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-02-04 22:38:47 +0100
committerBlue Swirl <blauwirbel@gmail.com>2011-02-20 20:18:10 +0000
commit08f3896a072c6d05e36ec3fa4fd303ea550ee38f (patch)
treea9848ee4970cbdcfc91737be7710046df2a31145 /configure
parent9dda2465472d2252c7172549606f246ec6823592 (diff)
downloadqemu-08f3896a072c6d05e36ec3fa4fd303ea550ee38f.zip
qemu-08f3896a072c6d05e36ec3fa4fd303ea550ee38f.tar.gz
qemu-08f3896a072c6d05e36ec3fa4fd303ea550ee38f.tar.bz2
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 <aliguori@us.ibm.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e3cecca..791b71d 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}"