
AMDG Brook Milligan wrote:
It seems that I need to use the dll-path feature to add an -rpath directive to the linker when my boost libraries are installed. This seems to be described (mostly) fairly clearly at
http://www.boost.org/boost-build2/doc/html/bbv2/faq/dll-path.html
What is not clear is where the feature should be invoked.
My attempt to modify Jamroot to add <dll-path> to the boost-install rule failed in the sense that not rpath information makes it into the installed libraries. (The rest of this snippet is the original.).
rule boost-install ( libraries * )
So, how is one supposed to invoke the <dll-path> feature in order to have -rpath added to the linking of libraries during their installation?
Jamroot is kind of odd. It ignores the targets created with boost-install. Try adding dll-path to this one: # Complete install package.install install-proper : $(install-requirements) <install-no-version-symlinks>on : : libs/$(libraries)/build : $(headers) ; In Christ, Steven Watanabe