diff --git a/recipes-ros/pluginlib/pluginlib_1.10.7.bb b/recipes-ros/pluginlib/pluginlib_1.10.7.bb index aa73b5c..af3fe48 100644 --- a/recipes-ros/pluginlib/pluginlib_1.10.7.bb +++ b/recipes-ros/pluginlib/pluginlib_1.10.7.bb @@ -11,3 +11,6 @@ SRC_URI[md5sum] = "e767bf812d74a115efb5855147e2899b" SRC_URI[sha256sum] = "88f7c45b6a27b8d890daa897974b0501458afcc253149c0523554c7f9b80be3b" inherit catkin + +# libclass_loader.so: error: undefined reference to 'pthread_mutexattr_destroy', 'pthread_mutexattr_settype', 'pthread_mutexattr_init' +LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" diff --git a/recipes-ros/ros-canopen/socketcan-interface_0.6.8.bb b/recipes-ros/ros-canopen/socketcan-interface_0.6.8.bb index 0f080ca..34a9e0c 100644 --- a/recipes-ros/ros-canopen/socketcan-interface_0.6.8.bb +++ b/recipes-ros/ros-canopen/socketcan-interface_0.6.8.bb @@ -10,3 +10,6 @@ require ros-canopen.inc SRC_URI += "file://0001-explicitly-include-iostream-to-compile-with-boost-1..patch;striplevel=2" SRC_URI += "file://0001-find-and-link-the-thread-library-properly.patch;striplevel=2" SRC_URI += "file://0001-compile-also-with-boost-1.66.0.patch;striplevel=2" + +# libclass_loader.so: error: undefined reference to 'pthread_mutexattr_destroy', 'pthread_mutexattr_settype', 'pthread_mutexattr_init' +LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"