diff options
author | Andreas Färber <andreas.faerber@web.de> | 2012-04-30 18:00:55 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-05-01 10:49:33 +0000 |
commit | 560d375fe007203496520257526ec2090110afd7 (patch) | |
tree | 7c03685f4270fb29e0a22f4f740d36cc7fbf2681 /configure | |
parent | e61ab1da7e98357da47c54d8f893b9bd6ff2f7f9 (diff) |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |