OE-devs/Tim:
Here's the basic recipe patch; not sure if I should submit it formally or
not. Maybe a configure patch is preferred? Feedback welcome.
Thanks, Steve
diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index bba4a79..bd4eedd 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -22,11 +22,17 @@ inherit autotools-brokensep texinfo binconfig-disabled pkgconfig
ASFLAGS="--divide"
CPPFLAGS_append = " -DPIC -fPIC"
+
EXTRA_OECONF = "--without-capabilities --disable-padlock-support"
do_configure_prepend () {
# Else these could be used in prefernce to those in aclocal-copy
rm -f ${S}/m4/*.m4
+ export GPG_ERROR_LIBS="-L${STAGING_LIBDIR} -lgpg-error "
+}
+
+do_configure_prepend_class-native() {
+ export GPG_ERROR_LIBS="-L${STAGING_LIBDIR_NATIVE} -lgpg-error "
}
# libgcrypt.pc is added locally and thus installed here
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core