[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] configure: fix library linking for smartcard NSS an
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [PATCH] configure: fix library linking for smartcard NSS and usbredir |
Date: |
Sun, 8 Jan 2012 13:42:38 +0100 |
configure script currently add smartcard NSS and usbredir libraries to
LIBS instead of libs_softmmu. This cause even the qemu-user builds to
link with them, and causes some problems with --static as NSS libraries
are usually not available as static.
Signed-off-by: Aurelien Jarno <address@hidden>
---
configure | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 0309dad..ce39534 100755
--- a/configure
+++ b/configure
@@ -2552,7 +2552,7 @@ if test "$smartcard" != "no" ; then
libcacard_libs=$($pkg_config --libs nss 2>/dev/null)
libcacard_cflags=$($pkg_config --cflags nss 2>/dev/null)
QEMU_CFLAGS="$QEMU_CFLAGS $smartcard_cflags $libcacard_cflags"
- LIBS="$libcacard_libs $LIBS"
+ libs_softmmu="$libs_softmmu $libcacard_libs"
else
if test "$smartcard_nss" = "yes"; then
feature_not_found "nss"
@@ -2572,7 +2572,7 @@ if test "$usb_redir" != "no" ; then
usb_redir_cflags=$($pkg_config --cflags libusbredirparser 2>/dev/null)
usb_redir_libs=$($pkg_config --libs libusbredirparser 2>/dev/null)
QEMU_CFLAGS="$QEMU_CFLAGS $usb_redir_cflags"
- LIBS="$LIBS $usb_redir_libs"
+ libs_softmmu="$libs_softmmu $usb_redir_libs"
else
if test "$usb_redir" = "yes"; then
feature_not_found "usb-redir"
--
1.7.7.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] configure: fix library linking for smartcard NSS and usbredir,
Aurelien Jarno <=