Patchwork configure: Fix "configure: usbredir fixes" to not break softmmu builds

login
register
mail settings
Submitter Hans de Goede
Date Sept. 13, 2012, 7:31 a.m.
Message ID <1347521489-1545-1-git-send-email-hdegoede@redhat.com>
Download mbox | patch
Permalink /patch/183526/
State New
Headers show

Comments

Hans de Goede - Sept. 13, 2012, 7:31 a.m.
Feel free to merge this into the original commit at that is not upstream
yet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
CC: Aurelien Jarno <aurelien@aurel32.net>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Gerd Hoffmann - Sept. 13, 2012, 7:52 a.m.
On 09/13/12 09:31, Hans de Goede wrote:
> -        libs_softmmu="$LIBS $usb_redir_libs"
> +        libs_softmmu="$libs_softmmu $usb_redir_libs"

Good point ;)

Fix squashed in.

thanks,
  Gerd

Patch

diff --git a/configure b/configure
index 1854b0b..d63530a 100755
--- a/configure
+++ b/configure
@@ -2770,7 +2770,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_softmmu="$LIBS $usb_redir_libs"
+        libs_softmmu="$libs_softmmu $usb_redir_libs"
     else
         if test "$usb_redir" = "yes"; then
             feature_not_found "usb-redir"