blob: 25117ffad6cf75668bf8d735a54308ae2d0355d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
PRINC = "1"
do_install_append () {
if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
realsofile=`readlink ${D}${libdir}/libpcre.so`
mkdir -p ${D}/${base_libdir}/
mv -f ${D}${libdir}/libpcre.so.* ${D}${base_libdir}/
relpath=${@os.path.relpath("${base_libdir}", "${libdir}")}
ln -sf ${relpath}/${realsofile} ${D}${libdir}/libpcre.so
fi
}
FILES_${PN} += "${base_libdir}/libpcre.so.*"
|