From 3e942e77e7698942a64183346e624c25df5ba340 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Mon, 6 May 2019 17:50:23 -0700 Subject: [PATCH] DRAFT ros-insane.bbclass: Make usable by ROS 2 --- classes/ros-insane.bbclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/classes/ros-insane.bbclass b/classes/ros-insane.bbclass index 81116dc..444fa85 100644 --- a/classes/ros-insane.bbclass +++ b/classes/ros-insane.bbclass @@ -4,6 +4,10 @@ # https://github.com/ros-planning/moveit/commit/0a7a895bb2ae9e171efa101f354826366fa5eaff INSANE_SKIP_${PN} += "dev-so" -FILES_${PN} += "\ - ${ros_libdir}/lib*.so.* \ +FILES_${PN}_prepend_ros1-distro = " \ + ${ros_libdir}/lib*${SOLIBS} \ +" + +FILES_${PN}_prepend_ros2-distro= " \ + ${libdir}/lib*${SOLIBS} \ "