diff --git a/recipes-ros/robot-model/collada-urdf_1.10.15.bb b/recipes-ros/robot-model/collada-urdf_1.10.15.bb
index 30af6d8b1eb98219d3716eef9e3a9e4daf99a42f..696eaf6dfff3b104ce496d1ea7d2de282ccd61d7 100644
--- a/recipes-ros/robot-model/collada-urdf_1.10.15.bb
+++ b/recipes-ros/robot-model/collada-urdf_1.10.15.bb
@@ -6,3 +6,12 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=15;endline=15;md5=d566ef916e9de
 DEPENDS = "angles assimp resource-retriever collada-dom collada-parser roscpp urdf geometric-shapes"
 
 require robot-model.inc
+
+do_configure_append() {
+	for f in collada_urdf.dir urdf_to_collada.dir
+	do 
+	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/$f/build.make
+	done
+}