Skip to contentSkip to conversation

add libgcrypt-native to avoid host corruption

PATCH In review Ronan 2 participants 2 messages Mar 12, 2015

lore
Share & tools
lore

Ronan

author
#0 lore raw

PATCH 1/1 add libgcrypt-native to avoid host corruption

---
 meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb +4 -1
index e3c833b..5c4c6b1 100644
@@ -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"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 10 lines · Ronan
---
 meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb +0 -0
index e3c833b..5c4c6b1 100644

meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb HOMEPAGE = "http://www.gnu.org/software/libmicrohttpd/" · line 9

Quoted 8 lines
meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb +4 -1
@@ -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).

Quoted 10 lines
meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb +0 -0
 SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz"
 SRC_URI[md5sum] = "2947eee13c2c8affb95023a0cb6fda0c"
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]