All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] link seccomp only with softmmu targets
@ 2013-01-19 14:58 Michael Tokarev
  2013-01-19 15:04 ` Michael Tokarev
  2013-01-19 22:33 ` Doug Goldstein
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Tokarev @ 2013-01-19 14:58 UTC (permalink / raw)
  To: Eduardo Otubo; +Cc: Michael Tokarev, qemu-devel

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 <mjt@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-19 22:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-19 14:58 [Qemu-devel] [PATCH] link seccomp only with softmmu targets Michael Tokarev
2013-01-19 15:04 ` Michael Tokarev
2013-01-19 15:31   ` Paolo Bonzini
2013-01-19 22:33 ` Doug Goldstein

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.