Boost logo

Boost-Build :

Subject: [Boost-build] [boost.jam] Use full path to archive rather than searchable prebuilt libraries
From: Samuel Debionne (samuel.debionne_at_[hidden])
Date: 2014-07-10 08:43:09


Hello all,
I'm using boost.jam contrib to use boost from my own boost-built
projects. The default behavior is to define searchable libraries.
On my system (darwin), both static and shared prebuilt libraries are
installed. The thing with searchable libraries is there is no way to
tell clang to choose the archive version vs the shared one when they are
both in the same directory (eg /opt/local/lib), the shared library is
always preferred. So my question is : is there a way to hack boost.jam
to use full path to archive (eg <file>@tag_std ?) when building
statically linked executables and the present behavior when building
shared executables ?
Regards,
Samuel Debionne


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