From 62cc91e8831c72e9beceff13ad68dd69298135b5 Mon Sep 17 00:00:00 2001 From: Joe Slater Date: Wed, 25 Jan 2017 15:03:50 -0800 Subject: 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 Signed-off-by: Ross Burton --- meta/recipes-support/gnutls/gnutls.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-support/gnutls') 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" -- cgit 1.2.3-korg