]> code.ossystems Code Review - openembedded-core.git/commitdiff
gnutls: Point to staging area for finding seccomp libs and includes
authorKhem Raj <raj.khem@gmail.com>
Mon, 26 Apr 2021 18:06:15 +0000 (11:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Apr 2021 14:11:43 +0000 (15:11 +0100)
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gnutls/gnutls_3.7.1.bb

index 3e1958c96954121ff9a67ae56ac6489da70813a1..350d0a018bd560c9dcaf8f677df3a9844f198d28 100644 (file)
@@ -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"