Received: from eggs.gnu.org ([208.118.235.92]:47022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwZs7-0007qz-HI for qemu-devel@nongnu.org; Sat, 19 Jan 2013 09:58:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwZs6-0005M9-76 for qemu-devel@nongnu.org; Sat, 19 Jan 2013 09:58:15 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:41572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwZs5-0005M1-Vt for qemu-devel@nongnu.org; Sat, 19 Jan 2013 09:58:14 -0500 From: Michael Tokarev Date: Sat, 19 Jan 2013 18:58:09 +0400 Message-Id: <1358607489-12478-1-git-send-email-mjt@msgid.tls.msk.ru> Subject: [Qemu-devel] [PATCH] link seccomp only with softmmu targets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Otubo Cc: Michael Tokarev , qemu-devel@nongnu.org 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 --- 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