summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>2016-10-31 16:06:53 +0200
committerJoe MacDonald <joe_macdonald@mentor.com>2016-11-01 09:17:16 -0400
commit2f8861779cb6b71a832b4c8a5a85fa72b1f056ce (patch)
treed41111fb744f17b0b335b282a2094a3b579d5005
parenta5f71f180d8b980c0e83bdacf6c7ff204c570333 (diff)
downloadmeta-selinux-2f8861779cb6b71a832b4c8a5a85fa72b1f056ce.tar.gz
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 <adrian.ratiu@ni.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--recipes-support/libpcre/libpcre_%.bbappend1
1 files changed, 1 insertions, 0 deletions
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 () {
7 mv -f ${D}${libdir}/libpcre.so.* ${D}${base_libdir}/ 7 mv -f ${D}${libdir}/libpcre.so.* ${D}${base_libdir}/
8 relpath=${@os.path.relpath("${base_libdir}", "${libdir}")} 8 relpath=${@os.path.relpath("${base_libdir}", "${libdir}")}
9 ln -sf ${relpath}/${realsofile} ${D}${libdir}/libpcre.so 9 ln -sf ${relpath}/${realsofile} ${D}${libdir}/libpcre.so
10 ln -sf ${relpath}/${realsofile} ${D}${libdir}/libpcre.so.1
10 fi 11 fi
11} 12}
12 13