Subject: Re: [Boost-build] [documnetation error?] linking with a prebuilt library
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2010-06-18 02:30:28
Thorsten Ottosen wrote:
> Dear all,
> I was trying to link with a prebuilt library. But somehow the file is
> not passed correctly on to the compiler. I looked at
> which states I can do something like
> lib a : : <variant>release <file>/pool/release/a.so ;
> lib a : : <variant>debug <file>/pool/debug/a.so ;
> but this doesn't work.
> I have to say
> lib a : : <variant>release:<file>/pool/release/a.so ;
> lib a : : <variant>debug:<file>/pool/debug/a.so ;
> Could this be an error in the documentation?
No, unless something's changed recently the former should work. What's the
actual contents of your jamfile? Error messages?
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