HACK yaml-cpp-vendor.inc: Symlink library into libdir
This commit is contained in:
parent
6bee18c579
commit
cd0672a9da
|
@ -20,3 +20,11 @@ FILES_${PN}-dev_prepend = " \
|
||||||
"
|
"
|
||||||
|
|
||||||
INSANE_SKIP_${PN} = "dev-so libdir"
|
INSANE_SKIP_${PN} = "dev-so libdir"
|
||||||
|
|
||||||
|
# HACK: Need to figure out how to have "opkg install" look in other directories for libraries to satisfy run-time dependencies.
|
||||||
|
# The link is removed in ros2_image_rm_vendor_lib_symlinks(), which is appended to ROOTFS_POSTINSTALL_COMMAND in
|
||||||
|
# ros2_image.bbclass .
|
||||||
|
pkg_postinst_${PN}() {
|
||||||
|
mkdir -p $D${libdir}
|
||||||
|
ln -s ../opt/${ROS_BPN}/lib/libyaml-cpp.so.0.6.2 $D${libdir}/libyaml-cpp.so.0.6
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue