qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 06/15] configure: Pick up libseccomp include path


From: Michael Roth
Subject: [Qemu-devel] [PATCH 06/15] configure: Pick up libseccomp include path
Date: Tue, 14 May 2013 16:53:03 -0500

From: Andreas Färber <address@hidden>

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>
Signed-off-by: Michael Tokarev <address@hidden>
(cherry picked from commit 372e47e9b5e31c493823d7f512716644fb02d0fd)

Signed-off-by: Michael Roth <address@hidden>
---
 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index e7468a9..d7a39cc 100755
--- a/configure
+++ b/configure
@@ -1435,6 +1435,7 @@ fi
 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.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]