octomap-ros: preliminary solution for #176

After configuring octomap-ros, the recipe modifies the generated
files to address the problem in #176. However, it does not solve
the root of this cause.
As #176 is similar to #175, this preliminary solution is very
similar to the preliminary solution for #175.
This commit is contained in:
Lukas Bulwahn 2013-10-13 13:10:28 +02:00
parent f02336b2ea
commit 24be26d89b
1 changed files with 6 additions and 0 deletions

View File

@ -12,3 +12,9 @@ SRC_URI[sha256sum] = "f39877bc3595f0d3808762042aee2c2cdc50ad8db6032beac31995da70
S = "${WORKDIR}/${ROS_SP}"
inherit catkin
do_configure_append() {
sed -i -e 's: /usr/lib/liboctomap.so: ${STAGING_LIBDIR}/liboctomap.so:g' \
-e 's: /usr/lib/liboctomath.so: ${STAGING_LIBDIR}/liboctomath.so:g' \
${S}/build/CMakeFiles/octomap_ros.dir/build.make
}