|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-12-10 10:30:59
Vladimir Prus wrote:
> >
> > <gcc><linkflags>"-Wl,-rpath -Wl,."
> > <gcc><linkflags>"-Wl,-rpath -Wl,$(GCC_STDLIB_DIRECTORY)"
>
> Hmm.. I've just tried that, and not sure this is what I want. This requires
> that all libraries are placed in the same directory as binary. What I wanted
> is to leave all binaries and libraries in build directories, but guarantee
> that dlls are found, but somehow placing *full* path to all needed dllls.
>
> Is that possible?
Yes, it is -- really simple. Just add the full path to dll in -rpath. Gotta
implement <dll-path> first, which will be translated into -rpath on gcc.
I'll then introduce <hardcode-dll-paths> feature, which will cause paths
of all used dynamic libraries to apper in <dll-path>.
- Volodya
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk