diff options
author | Andreas Färber | 2013-04-28 16:27:26 +0200 |
---|---|---|
committer | Michael Tokarev | 2013-05-01 18:52:26 +0200 |
commit | 372e47e9b5e31c493823d7f512716644fb02d0fd (patch) | |
tree | 51262f4b03e16dc73a42ec06d829785d72838093 /configure | |
parent | virtio-net: count VIRTIO_NET_F_MAC when calculating config_len (diff) | |
download | qemu-372e47e9b5e31c493823d7f512716644fb02d0fd.tar.gz qemu-372e47e9b5e31c493823d7f512716644fb02d0fd.tar.xz qemu-372e47e9b5e31c493823d7f512716644fb02d0fd.zip |
configure: Pick up libseccomp include path
openSUSE 12.3 has seccomp.h in /usr/include/libseccomp-1.0.1,
so add `pkg-config --cflags libseccomp` output to QEMU_CFLAGS.
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |