diff --git a/classes/catkin.bbclass b/classes/catkin.bbclass index 7c55d5d..9f32c0e 100644 --- a/classes/catkin.bbclass +++ b/classes/catkin.bbclass @@ -4,7 +4,7 @@ inherit cmake distutils-base ros faulty-solibs -DEPENDS_prepend = "${@['catkin-native ', ''][(d.getVar('BPN', True) == 'catkin') | (d.getVar('BPN', True) == 'catkin-runtime')]}" +DEPENDS_prepend = "${@'' if (d.getVar('BPN', True) == 'catkin') or (d.getVar('BPN', True) == 'catkin-runtime') else 'catkin-native '}" EXTRA_OECMAKE_CATKIN = "\ -DCMAKE_PREFIX_PATH='${STAGING_DIR_HOST}${ros_prefix};${STAGING_DIR_HOST}${prefix};${STAGING_DIR_NATIVE}${ros_prefix};${STAGING_DIR_NATIVE}${prefix}' \