qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] link seccomp only with softmmu targets


From: Doug Goldstein
Subject: Re: [Qemu-devel] [PATCH] link seccomp only with softmmu targets
Date: Sat, 19 Jan 2013 16:33:27 -0600

On Sat, Jan 19, 2013 at 8:58 AM, Michael Tokarev <address@hidden> wrote:
> Now, if seccomp is detected, it is linked into every executable,
> but is used only by softmmu targets (from vl.c).  So link it
> only where it is actually needed.
>
> Signed-off-by: Michael Tokarev <address@hidden>
> ---
>  configure |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index 4ebb60d..509b3f1 100755
> --- a/configure
> +++ b/configure
> @@ -1427,7 +1427,7 @@ fi
>
>  if test "$seccomp" != "no" ; then
>      if $pkg_config --atleast-version=1.0.0 libseccomp --modversion 
> >/dev/null 2>&1; then
> -        LIBS=`$pkg_config --libs libseccomp`
> +        libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
>         seccomp="yes"
>      else
>         if test "$seccomp" = "yes"; then
> --
> 1.7.10.4
>
>

This should likely be considered for QEMU 1.3.1 as well. I've added it
to my QEMU 1.2.x queue as well.

-- 
Doug Goldstein



reply via email to

[Prev in Thread] Current Thread [Next in Thread]