On Sat, Jan 19, 2013 at 8:58 AM, Michael Tokarev <m...@tls.msk.ru> 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 <m...@tls.msk.ru> > --- > 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