diff --git a/bloom/generators/debian/templates/ament_cmake/rules.em b/bloom/generators/debian/templates/ament_cmake/rules.em index 2ab7b14a..a856369d 100755 --- a/bloom/generators/debian/templates/ament_cmake/rules.em +++ b/bloom/generators/debian/templates/ament_cmake/rules.em @@ -57,7 +57,7 @@ override_dh_shlibdeps: # in the install tree and source it. It will set things like # CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \ - dh_shlibdeps -l$(CURDIR)/debian/@(Package)/@(InstallationPrefix)/lib/ + dh_shlibdeps -l$(CURDIR)/debian/@(Package)/@(InstallationPrefix)/lib/:$(CURDIR)/debian/@(Package)/@(InstallationPrefix)/opt/@(Name)/lib/ override_dh_auto_install: # In case we're installing to a non-standard location, look for a setup.sh