From b4451996e712653f9ef4d53d975a158572b8574d Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Sat, 19 Jan 2013 18:58:09 +0400 Subject: 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index c6172ef..b7635e4 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 -- cgit v1.1