[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-1.1 2/2] configure: Add libraries for qemu-ga on
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [PATCH for-1.1 2/2] configure: Add libraries for qemu-ga on Solaris |
Date: |
Mon, 30 Apr 2012 18:00:55 +0200 |
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 <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
---
configure | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index fbe4e85..89c58f6 100755
--- a/configure
+++ b/configure
@@ -470,7 +470,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"
--
1.7.7