Blame 0359-configure-usbredir-fixes.patch

93b7e3
From 31bb27a1393168657cb53deff12d4b58601e4d72 Mon Sep 17 00:00:00 2001
93b7e3
From: Aurelien Jarno <aurelien@aurel32.net>
93b7e3
Date: Tue, 11 Sep 2012 18:57:58 +0000
93b7e3
Subject: [PATCH 359/369] configure: usbredir fixes
93b7e3
93b7e3
usbredir is only used by system emulation, so add the libraries to
93b7e3
libs_softmmu instead of LIBS.
93b7e3
93b7e3
Cc: Michael Tokarev <mjt@tls.msk.ru>
93b7e3
Cc: Gerd Hoffmann <kraxel@redhat.com>
93b7e3
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
93b7e3
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
93b7e3
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
93b7e3
---
93b7e3
 configure | 2 +-
93b7e3
 1 file changed, 1 insertion(+), 1 deletion(-)
93b7e3
93b7e3
diff --git a/configure b/configure
93b7e3
index 25c406f..d63530a 100755
93b7e3
--- a/configure
93b7e3
+++ b/configure
93b7e3
@@ -2770,7 +2770,7 @@ if test "$usb_redir" != "no" ; then
93b7e3
         usb_redir_cflags=$($pkg_config --cflags libusbredirparser 2>/dev/null)
93b7e3
         usb_redir_libs=$($pkg_config --libs libusbredirparser 2>/dev/null)
93b7e3
         QEMU_CFLAGS="$QEMU_CFLAGS $usb_redir_cflags"
93b7e3
-        LIBS="$LIBS $usb_redir_libs"
93b7e3
+        libs_softmmu="$libs_softmmu $usb_redir_libs"
93b7e3
     else
93b7e3
         if test "$usb_redir" = "yes"; then
93b7e3
             feature_not_found "usb-redir"
93b7e3
-- 
93b7e3
1.7.12
93b7e3