Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-14 06:26:34


On Friday 14 April 2006 13:25, Roland Schwarz wrote:
> Can anyone please tell me where I can find instructions how to specify
> system libraries in Jamfiles?
>
> The only example I was able to find is to put a e.g.
>
> <library-file>/usr/local/lib/libspl.a
>
> into the requirements section of the target description, e.g. of a exe
> target. But this is toolset dependent. Is there a toolset independent
> way of specifying this?
>
> What I am searching for is the equivalent of specifying -lspl linker
> flag to gcc.

  Use <find-library>

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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