summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnutls
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2017-01-25 15:03:50 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-31 14:40:18 +0000
commit62cc91e8831c72e9beceff13ad68dd69298135b5 (patch)
tree4e7f3da48a9c9dd9ff20a03b8959647d3b38a49d /meta/recipes-support/gnutls
parent67f0094af624866f02e7fb0173c335a7e8942921 (diff)
downloadopenembedded-core-62cc91e8831c72e9beceff13ad68dd69298135b5.tar.gz
openembedded-core-62cc91e8831c72e9beceff13ad68dd69298135b5.tar.bz2
openembedded-core-62cc91e8831c72e9beceff13ad68dd69298135b5.zip
gnutls: avoid accidentally using libseccomp
Specify whether to use libseccomp or not. Do not just let configure check for it. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/gnutls')
-rw-r--r--meta/recipes-support/gnutls/gnutls.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc
index 003dc55a38..1ecad1f995 100644
--- a/meta/recipes-support/gnutls/gnutls.inc
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -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"