From 2f8861779cb6b71a832b4c8a5a85fa72b1f056ce Mon Sep 17 00:00:00 2001 From: Ioan-Adrian Ratiu Date: Mon, 31 Oct 2016 16:06:53 +0200 Subject: [PATCH] libpcre_%.bbappend: add missing symlink libpcre.so.1 This bbappend moves sysroot lib libpcre.so.x.x.x from /usr/lib to /lib and symlinks /usr/lib/libpcre.so to ../../lib/libpcre.so.x.x.x, but this causes certain recipes dependent on libpcre (like pango) to fail because they also expect libpcre.so.1 to exist which this recipe omits to create. (the reason why the lib is moved in the first place is to avoid a QA issue because there's a risk for /usr to be on another partition) Signed-off-by: Ioan-Adrian Ratiu Signed-off-by: Joe MacDonald --- recipes-support/libpcre/libpcre_%.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-support/libpcre/libpcre_%.bbappend b/recipes-support/libpcre/libpcre_%.bbappend index 9131f8d..ad18d61 100644 --- a/recipes-support/libpcre/libpcre_%.bbappend +++ b/recipes-support/libpcre/libpcre_%.bbappend @@ -7,6 +7,7 @@ do_install_append () { mv -f ${D}${libdir}/libpcre.so.* ${D}${base_libdir}/ relpath=${@os.path.relpath("${base_libdir}", "${libdir}")} ln -sf ${relpath}/${realsofile} ${D}${libdir}/libpcre.so + ln -sf ${relpath}/${realsofile} ${D}${libdir}/libpcre.so.1 fi }