From 560d375fe007203496520257526ec2090110afd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Mon, 30 Apr 2012 18:00:55 +0200 Subject: [PATCH] configure: Add libraries for qemu-ga on Solaris MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move socket-related Solaris libraries to $solarisnetlibs and use them for both $LIBS and $libs_qga. Fixes build on illumos without --disable-guest-agent. Signed-off-by: Lee Essen Signed-off-by: Andreas Färber Reviewed-by: Stefan Hajnoczi Signed-off-by: Blue Swirl --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index e3d7a94635..3c72fa07df 100755 --- a/configure +++ b/configure @@ -468,7 +468,9 @@ SunOS) # needed for TIOCWIN* defines in termios.h QEMU_CFLAGS="-D__EXTENSIONS__ $QEMU_CFLAGS" QEMU_CFLAGS="-std=gnu99 $QEMU_CFLAGS" - LIBS="-lsocket -lnsl -lresolv $LIBS" + solarisnetlibs="-lsocket -lnsl -lresolv" + LIBS="$solarisnetlibs $LIBS" + libs_qga="$solarisnetlibs $libs_qga" ;; AIX) aix="yes" -- GitLab