seccomp: update libseccomp version and remove arch restriction
Libseccomp version updated to 2.2.0 and arch restriction to x86/x86_64 is now removed. It's supposed to work on armv7l as well. Related bug: https://bugs.launchpad.net/qemu/+bug/1363641 Signed-off-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>
This commit is contained in:
parent
054903a832
commit
8e27fc2004
|
@ -1848,14 +1848,13 @@ fi
|
||||||
# libseccomp check
|
# libseccomp check
|
||||||
|
|
||||||
if test "$seccomp" != "no" ; then
|
if test "$seccomp" != "no" ; then
|
||||||
if test "$cpu" = "i386" || test "$cpu" = "x86_64" &&
|
if $pkg_config --atleast-version=2.2.0 libseccomp; then
|
||||||
$pkg_config --atleast-version=2.1.1 libseccomp; then
|
|
||||||
libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
|
libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
|
||||||
QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
|
QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
|
||||||
seccomp="yes"
|
seccomp="yes"
|
||||||
else
|
else
|
||||||
if test "$seccomp" = "yes"; then
|
if test "$seccomp" = "yes"; then
|
||||||
feature_not_found "libseccomp" "Install libseccomp devel >= 2.1.1"
|
feature_not_found "libseccomp" "Install libseccomp devel >= 2.2.0"
|
||||||
fi
|
fi
|
||||||
seccomp="no"
|
seccomp="no"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue