* [Qemu-devel] [PATCH] configure: fix library linking for smartcard NSS and usbredir
@ 2012-01-08 12:42 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2012-01-08 12:42 UTC (permalink / raw)
To: qemu-devel; +Cc: Aurelien Jarno
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 <aurelien@aurel32.net>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-08 12:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-08 12:42 [Qemu-devel] [PATCH] configure: fix library linking for smartcard NSS and usbredir Aurelien Jarno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).