All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH for-1.5] configure: Pick up libseccomp include path
@ 2013-04-28 14:27 ` Andreas Färber
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Färber @ 2013-04-28 14:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, qemu-stable, agraf, Andreas Färber, brogers

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>
---
 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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-01 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-28 14:27 [Qemu-trivial] [PATCH for-1.5] configure: Pick up libseccomp include path Andreas Färber
2013-04-28 14:27 ` [Qemu-devel] " Andreas Färber
2013-05-01 16:53 ` [Qemu-trivial] " Michael Tokarev
2013-05-01 16:53   ` [Qemu-devel] " Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.