[oe] [PATCH] add libgcrypt-native to avoid host corruption

Martin Jansa martin.jansa at gmail.com
Thu Mar 12 11:31:47 UTC 2015


On Thu, Mar 12, 2015 at 11:56:01AM +0100, Ronan wrote:
> Signed-off-by: Ronan <ronan.lemartret at gmail.com>
> ---
>  meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
> index e3c833b..5c4c6b1 100644
> --- a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
> +++ b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
> @@ -3,7 +3,10 @@ HOMEPAGE = "http://www.gnu.org/software/libmicrohttpd/"
>  LICENSE = "LGPL-2.1+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5"
>  SECTION = "net"
> -DEPENDS = "libgcrypt gnutls file"
> +DEPENDS = "gnutls file"
> +
> +#libmicrohttpd uses the tool libgcrypt-config, so we need libgcrypt-native
> +DEPENDS_append = " libgcrypt libgcrypt-native"

Why do you use append instead of adding it directly in DEPENDS?

We should fix configure to use pkgconfig for libgcrypt, not to add
libgcrypt-config from native recipe (when we want target sysroot paths).

>  SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz"
>  SRC_URI[md5sum] = "2947eee13c2c8affb95023a0cb6fda0c"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150312/c9897e83/attachment-0002.sig>


More information about the Openembedded-devel mailing list