2012-10-28 18:05:07 +00:00
|
|
|
From 00d9118be03020d3a905bd0a61f74eccd76edee9 Mon Sep 17 00:00:00 2001
|
2012-09-20 19:27:28 +00:00
|
|
|
From: Aurelien Jarno <aurelien@aurel32.net>
|
2012-10-28 18:05:07 +00:00
|
|
|
Date: Tue, 11 Sep 2012 20:57:58 +0200
|
|
|
|
Subject: [PATCH] configure: usbredir fixes
|
2012-09-20 19:27:28 +00:00
|
|
|
|
|
|
|
usbredir is only used by system emulation, so add the libraries to
|
|
|
|
libs_softmmu instead of LIBS.
|
|
|
|
|
|
|
|
Cc: Michael Tokarev <mjt@tls.msk.ru>
|
|
|
|
Cc: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|
|
|
|
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
2012-10-28 18:05:07 +00:00
|
|
|
(cherry picked from commit 56ab2ad177dc43d474dc0a0bd84e81ef00f31e11)
|
|
|
|
|
|
|
|
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
|
2012-09-20 19:27:28 +00:00
|
|
|
---
|
|
|
|
configure | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/configure b/configure
|
2012-10-28 18:05:07 +00:00
|
|
|
index a8061c1..dcd8e7b 100755
|
2012-09-20 19:27:28 +00:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2012-10-28 18:05:07 +00:00
|
|
|
@@ -2737,7 +2737,7 @@ if test "$usb_redir" != "no" ; then
|
2012-09-20 19:27:28 +00:00
|
|
|
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"
|
|
|
|
--
|
2012-12-16 23:27:22 +00:00
|
|
|
1.8.0.2
|
2012-09-20 19:27:28 +00:00
|
|
|
|