[oe] [PATCH] libgcrypt: Add symlink for mpi files

Jason Kridner jkridner at beagleboard.org
Mon Aug 16 16:14:22 UTC 2010


'configure' doesn't seem to include the necessary '../mpi' in the
symlinks that get generated.  This hack will make the symlinks that do
get created work.

Signed-off-by: Jason Kridner <jkridner at beagleboard.org>
---
 recipes/libgcrypt/libgcrypt.inc |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/recipes/libgcrypt/libgcrypt.inc b/recipes/libgcrypt/libgcrypt.inc
index f29dc8d..0c44fff 100644
--- a/recipes/libgcrypt/libgcrypt.inc
+++ b/recipes/libgcrypt/libgcrypt.inc
@@ -4,6 +4,8 @@ PRIORITY = "optional"
 LICENSE = "GPL LGPL FDL"
 DEPENDS = "libgpg-error"
 
+PR = "r1"
+
 SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \
            file://add-pkgconfig-support.patch \
            file://mips-h-constraint.patch"
@@ -14,6 +16,10 @@ EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
 
 ARM_INSTRUCTION_SET = "arm"
 
+do_configure_append() {
+	ln -s ${S}/mpi ${S}/mpi/mpi
+}
+
 do_install_append() {
 	install -d ${D}/${libdir}/pkgconfig/
 	cp ${S}/src/*.pc ${D}/${libdir}/pkgconfig/
-- 
1.5.6.4





More information about the Openembedded-devel mailing list