aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2013-01-19 18:58:09 +0400
committerBlue Swirl <blauwirbel@gmail.com>2013-01-26 13:19:57 +0000
commitb4451996e712653f9ef4d53d975a158572b8574d (patch)
treea88935f4a5a0fbeb2167a51b6a144e3bbeca06c6 /configure
parent0360ccffbe41bd732b42a90cd04de63335933bea (diff)
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 <mjt@tls.msk.ru> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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