Boost logo

Boost-Build :

From: hamletclaud (hamletclaud_at_[hidden])
Date: 2005-07-19 08:50:48


Relates to: Boost Build V2

I have an executable which as one of its sources uses a system
library, so:

lib required_system_library
: <name>greatlib

exe final_exe :


However, the system library has different names under Linux and
Darwin. I would thus like to choose the library name (say, "greatlib"
for Linux, but "greatlib_xy" for Darwin) depending on the OS, much as
I can easily do for variants, optimization and other factors.
This must be trivial, but in my stupidity I can't find the solution in
the documentation nor in the jam source.

Many thanks in advance!



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at