aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2012-04-30 18:00:55 +0200
committerBlue Swirl <blauwirbel@gmail.com>2012-05-01 10:49:33 +0000
commit560d375fe007203496520257526ec2090110afd7 (patch)
tree7c03685f4270fb29e0a22f4f740d36cc7fbf2681
parente61ab1da7e98357da47c54d8f893b9bd6ff2f7f9 (diff)
downloadqemu-560d375fe007203496520257526ec2090110afd7.zip
qemu-560d375fe007203496520257526ec2090110afd7.tar.gz
qemu-560d375fe007203496520257526ec2090110afd7.tar.bz2
configure: Add libraries for qemu-ga on Solaris
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 <lee.essen@nowonline.co.uk> Signed-off-by: Andreas Färber <andreas.faerber@web.de> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index e3d7a94..3c72fa0 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"