Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-28 19:13:20


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
> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at