* [PATCH] add libgcrypt-native to avoid host corruption
@ 2015-03-12 10:56 Ronan
2015-03-12 11:31 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Ronan @ 2015-03-12 10:56 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Ronan <ronan.lemartret@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"
SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "2947eee13c2c8affb95023a0cb6fda0c"
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] add libgcrypt-native to avoid host corruption
2015-03-12 10:56 [PATCH] add libgcrypt-native to avoid host corruption Ronan
@ 2015-03-12 11:31 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2015-03-12 11:31 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]
On Thu, Mar 12, 2015 at 11:56:01AM +0100, Ronan wrote:
> Signed-off-by: Ronan <ronan.lemartret@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-12 11:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12 10:56 [PATCH] add libgcrypt-native to avoid host corruption Ronan
2015-03-12 11:31 ` Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox