From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2005-01-31 17:44:39
Could somebody please help us with this:
Robert Ramey writes:
> Here is what I believe is the problem. I'm not sure how to fix it and
> appreciate any help.
> The DLL version of the serialization library specifies as a requirement
> the build be done with <runtime-link>dynamic .
> boost-base.jam contains the following:
> # If the toolset matches the given regex pattern, modify the
> # subvariant-path and properties for static linking
> rule force-NT-static-link ( pattern : toolset : subvariant-path properties
> * )
> if $(NT) && [ MATCH $(pattern) : $(toolset) ]
> properties =
> [ difference $(properties) : <runtime-link>dynamic ]
> return $(subvariant-path) $(properties) ;
> # Stick this rule name in your requirements if you are building code
> # which requires locale support. It handles the metrowerks-specific
> # case that locale support demands the static version of the runtime
> # library.
> rule std::locale-support ( toolset variant : subvariant-path properties *
> return [
> force-NT-static-link .*(metrowerks|cwpro|cw).*
> : $(toolset) : $(subvariant-path) $(properties)
> ] ;
> So - with code view we have the situation where by <runtime-link>static
> <runtime-link>dynamic are simultaneously required. Upon detecting this -
> bjam aborts.
> I'm not really sure what to do about this. I believe this problem will
> occur for any library which builds a DLL and requires locale support.
> Any help suggestions would be appreciated.
-- Aleksey Gurtovoy MetaCommunications Engineering
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