From: Michael Tokarev Date: Sat, 19 Jan 2013 14:58:09 +0000 (+0400) Subject: link seccomp only with softmmu targets X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b4451996e712653f9ef4d53d975a158572b8574d;p=qemu.git link seccomp only with softmmu targets 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 Signed-off-by: Blue Swirl --- diff --git a/configure b/configure index c6172ef88e..b7635e4fec 100755 --- a/configure +++ b/configure @@ -1434,7 +1434,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