|
Boost-Build : |
From: Christopher Currie (Christopher_at_[hidden])
Date: 2004-03-10 11:11:23
Vladimir Prus wrote:
> It seems like presense of "import order" in gcc.jam has masked this problem in
> my testing. Should be fixed now.
Yep, works now. Thanks!
> The strange thing is that it works with gcc. Eh... I see the following in
> sun.jam:
>
> flags sun.link LIBRARIES <library> ;
>
> I think that's the bug. The <library> feature is processed specially: some
> libraries are added to sources and some (exactly, searched), are represeted
> as <find_shared_library> feature. The code above adds all <library> values to
> LIBRARY varaible which is then added to sources.
>
> BTW, gcc.jam has
>
> flags sun.link LIBRARIES <library-file> ;
>
> instead. Maybe you change change <library> to <library-file> and report the
> results?
*sigh* yes... this is an old bug that I had fixed locally long ago and
had forgotten to check in. The basic process seems to work great now; I
still need to run some larger tests with both static and shared
libraries, but it's much better already. Thanks for getting this working
for us!
Christopher
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