Boost logo

Boost-Build :

From: Mark Evans (evans_mark_at_[hidden])
Date: 2006-02-03 12:01:43


Will write enhancement request...thanks for the info.

Mark

Vladimir Prus <ghost_at_[hidden]> wrote: Hi Mark,

> The toolset I am creating for a cross-development environment on cygwin
> targeting HP NonStop Kernel system requires that shared libraries be
> generated with "lib" prefix. Is there a way to control the decision on
> whether or not to generate this prefix? This appears to be goverend by
> build/virtual-target.jam as follows:
....
> if [ type.is-derived $(type) LIB ] && [ os.on-unix ]
> && ! [ MATCH ^(lib) : $(specified-name) ]
> {
> prefix = "lib" ;
> }
>
> return $(prefix:E="")$(specified-name)$(suffix:E="") ;
> }
>
> Someone else ran into this problem and ended up having to change the
> rule above.
> (http://archives.free.net.ph/message/20060102.130852.3389a353.en.html)
>
> I'd rather not have to go that route.

I'm afraid that's the only option possible with the current codebase. The code
above is indeed hardcoded because when it was written "lib" on Unix was the
only know usecase. Would you mind filing this as enhancement request in the
issue tracker:

   http://zigzag.cs.msu.su/boost.build

Thanks,
Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build



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