From 6db9f63412d5655b3c1ee24f90f61bd5cb3734e2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 26 Apr 2021 11:06:15 -0700 Subject: [PATCH] gnutls: Point to staging area for finding seccomp libs and includes This ensures that if libseccomp is installed on build host then it does not resort to use it. Fixes checking for libseccomp... (cached) yes checking how to link with libseccomp... /usr/lib/libseccomp.so (From OE-Core rev: 3751ac58720a500e3b749b2296922d7c82db49a1) Signed-off-by: Khem Raj Cc: Armin Kuster Signed-off-by: Richard Purdie --- meta/recipes-support/gnutls/gnutls_3.7.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/gnutls/gnutls_3.7.1.bb b/meta/recipes-support/gnutls/gnutls_3.7.1.bb index 3e1958c969..350d0a018b 100644 --- a/meta/recipes-support/gnutls/gnutls_3.7.1.bb +++ b/meta/recipes-support/gnutls/gnutls_3.7.1.bb @@ -31,7 +31,7 @@ PACKAGECONFIG ??= "libidn ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)}" # 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[seccomp] = "--with-libseccomp-prefix=${STAGING_EXECPREFIXDIR},ac_cv_libseccomp=no,libseccomp" PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2" PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1" PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit"