Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-01-19 02:55:39


On Wednesday 19 January 2005 07:44, Malcolm Cifuentes wrote:
> There doesn't appear to be any mechanism available to add libraries to
> the link line. So for example I would like to add wininet.lib to the
> link line using the Borland toolset. I could add the library using the
> <linkflags> declaration, but this just upsets the linker because the
> library is not placed in the link line where it would like to see it and
> besides which it is an ugly hack.

>
> Is there a mechanism available for adding libraries to the link line?

Assuming you're using Boost.Build V2, did you read:

http://boost.org/boost-build2/doc/html/bbv2/tutorial/prebuilt.html

You can declare system libraries using the same "lib" rule.

- Volodya

 


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