From: Kirk Allan <kallan@suse.com>
Date: Tue, 2 Jun 2015 17:41:06 +0000 (-0600)
Subject: qga: add win32 library iphlpapi
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=601e5a0618ef3238e18fc38ece55ea4260910d5f;p=qemu.git

qga: add win32 library iphlpapi

Add the iphlpapi library to use APIs such as GetAdaptersInfo and
GetAdaptersAddresses.

Signed-off-by: Kirk Allan <kallan@suse.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
---

diff --git a/configure b/configure
index 3063739a5e..3bb5e555ea 100755
--- a/configure
+++ b/configure
@@ -732,7 +732,7 @@ if test "$mingw32" = "yes" ; then
   sysconfdir="\${prefix}"
   local_statedir=
   confsuffix=""
-  libs_qga="-lws2_32 -lwinmm -lpowrprof $libs_qga"
+  libs_qga="-lws2_32 -lwinmm -lpowrprof -liphlpapi $libs_qga"
 fi
 
 werror=""