diff options
| author | Michael Tokarev <mjt@tls.msk.ru> | 2013-01-19 18:58:09 +0400 |
|---|---|---|
| committer | Blue Swirl <blauwirbel@gmail.com> | 2013-01-26 13:19:57 +0000 |
| commit | b4451996e712653f9ef4d53d975a158572b8574d (patch) | |
| tree | a88935f4a5a0fbeb2167a51b6a144e3bbeca06c6 | |
| parent | 0360ccffbe41bd732b42a90cd04de63335933bea (diff) | |
| download | focaccia-qemu-b4451996e712653f9ef4d53d975a158572b8574d.tar.gz focaccia-qemu-b4451996e712653f9ef4d53d975a158572b8574d.zip | |
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>
| -rwxr-xr-x | configure | 2 |
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 |