From 900ce888fb94f99a06687e48912cbe2026b4671c Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Wed, 9 Sep 2026 21:14:26 -0400 Subject: [PATCH] Fix visibility attribute for export_properties function --- core/python/bindings/src/properties.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/python/bindings/src/properties.cpp b/core/python/bindings/src/properties.cpp index a96b292e0..50932b362 100644 --- a/core/python/bindings/src/properties.cpp +++ b/core/python/bindings/src/properties.cpp @@ -158,8 +158,8 @@ bool PropertyConverterBase::insert(const std::type_index& type_index, const std: return REGISTRY_SINGLETON.insert(type_index, ros_msg_name, to, from); } -__attribute__((visibility("default"))) // export this symbol as visible in the shared library -void export_properties(py::module& m) { +// export this symbol as visible in the shared library +PYBIND11_EXPORT void export_properties(py::module& m) { // clang-format off py::classh(m, "Property", "Holds an arbitrarily typed value and a default value") .def(py::init<>())