Boost logo

Boost-Build :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-02-19 18:48:19


I want to force <runtime-link>static whenever I build <toolset>gcc
and I'm <link>static. I've tried adding this to my Jamroot project
but it doesn't seem to work. Does anyone know how to express this
kind of dependency?

[ in Jamroot ]

   : requirements

There's an example in the user documentation but it doesn't quite do
what I want.

lib util
   : util.cpp
   : <toolset>msvc:<link>static

I don't want to always force gcc to link static, just want to force
the runtime to link static if building gcc and already link=static
specified by the user.


-- Noel

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