diff --git a/configure b/configure index d91b141944c2b1d63a514a07fb565015bd5da86a..c4d85ba51d86640b851602cae14ec11eed007188 100755 --- a/configure +++ b/configure @@ -1499,6 +1499,7 @@ libs_softmmu="$libs_softmmu -lz" if test "$seccomp" != "no" ; then if $pkg_config --atleast-version=1.0.0 libseccomp --modversion >/dev/null 2>&1; then libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`" + QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`" seccomp="yes" else if test "$seccomp" = "yes"; then