Closed clalancette closed 6 years ago
Seems a bit redundant to export the interfaces AND the libraries. Should ament be adding LD_LIBRARY_PATH
for exported interfaces? Fine with having this in here for now though, can always revert it quickly later if interfaces gets that support.
Will need a PR over in ecl_lite too.
Seems a bit redundant to export the interfaces AND the libraries. Should ament be adding LD_LIBRARY_PATH for exported interfaces?
It's a good question, I don't know the answer. It's probably worth bringing up in ament_cmake
to see what is expected to happen.
Will need a PR over in ecl_lite too.
Oops, yeah. I had to do fixes over there too, PR upcoming.
ament_export_libraries() ends up generating a setup.sh file for each library that exports LD_LIBRARY_PATH. This is important when building in isolated mode so that downstream consumers of the libraries can find the library at runtime.
Signed-off-by: Chris Lalancette clalancette@openrobotics.org