All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] configure: usbredir fixes
Date: Wed, 12 Sep 2012 09:47:56 +0400	[thread overview]
Message-ID: <5050220C.1000407@msgid.tls.msk.ru> (raw)
In-Reply-To: <1347389878-15136-1-git-send-email-aurelien@aurel32.net>

On 11.09.2012 22:57, Aurelien Jarno wrote:
> usbredir is only used by system emulation, so add the libraries to
> libs_softmmu instead of LIBS.

Fwiw, original code breaks user-static build - not it only
tries to link with unused library but also some distros
does not package/provide static (.a) library for
libusbredirparser (I dunno if it is a general issue).

This patch fixes that.  It has been in Debian as a bugfix
since the time usbredir were introduced.

> Cc: Michael Tokarev <mjt@tls.msk.ru>
> Cc: Gerd Hoffmann <kraxel@redhat.com>
> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
> ---
>  configure |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 7656c32..cf2621a 100755
> --- a/configure
> +++ b/configure
> @@ -2763,7 +2763,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 $usb_redir_libs"
>      else
>          if test "$usb_redir" = "yes"; then
>              feature_not_found "usb-redir"

  reply	other threads:[~2012-09-12  5:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11 18:57 [Qemu-devel] [PATCH] configure: usbredir fixes Aurelien Jarno
2012-09-12  5:47 ` Michael Tokarev [this message]
2012-09-12  6:10 ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5050220C.1000407@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=aurelien@aurel32.net \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.