Skip to contentSkip to conversation

gnutls: avoid accidentally using libseccomp

PATCH New Joe Slater 1 participant 1 message Jan 25, 2017

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH v3 1/1 gnutls: avoid accidentally using libseccomp

Specify whether to use libseccomp or not. Do not
just let configure check for it.

---
 meta/recipes-support/gnutls/gnutls.inc |    5 +++++
 1 file changed, 5 insertions(+)
meta/recipes-support/gnutls/gnutls.inc +5 -0
index 003dc55..1ecad1f 100644
@@ -23,6 +23,11 @@ inherit autotools texinfo binconfig pkgconfig gettext lib_package gtk-doc
 
 PACKAGECONFIG ??= "libidn zlib"
 
+# You must also have CONFIG_SECCOMP enabled in the kernel for
+# seccomp to work.
+#
+PACKAGECONFIG[seccomp] = "ac_cv_libseccomp=yes,ac_cv_libseccomp=no,libseccomp"
+
 PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn"
 PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1"
 PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit"
Signature · 1 line
1.7.9.5