|
Boost Testing : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-06-16 05:20:51
On Friday 16 June 2006 02:28, Caleb Epstein wrote:
> On 6/15/06, Sohail Somani <s.somani_at_[hidden]> wrote:
> > In general, hasn't Solaris deprecated static libraries in that it tells
> > you not to use them?
>
> Yes precisely. Basically, I think what I'm asking for is that
> <runtime-link>static on Solaris 10 be a no-op.
Hi Caleb,
the code that controls this is:
flags sun.link LINK-RUNTIME <runtime-link>static : static ;
in sun.jam. If you have a reliable way to detect that it's Solaris 10, you can
wrap the line in conditional.
Otherwise, we might need to disable <runtime-link>static unconditionally. I'm
not so comfortable about silently ignoring an option -- after all it's
typically specified specifically to get static binary, and if we can't we
better warn the user. But I've no time for fully generic solution ;-)
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2