[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-1.5] configure: Pick up libseccomp include path
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [PATCH for-1.5] configure: Pick up libseccomp include path |
Date: |
Sun, 28 Apr 2013 16:27:26 +0200 |
openSUSE 12.3 has seccomp.h in /usr/include/libseccomp-1.0.1,
so add `pkg-config --cflags libseccomp` output to QEMU_CFLAGS.
Cc: address@hidden
Signed-off-by: Andreas Färber <address@hidden>
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 21438d4..643153f 100755
--- a/configure
+++ b/configure
@@ -1505,6 +1505,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
--
1.8.1.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH for-1.5] configure: Pick up libseccomp include path,
Andreas Färber <=