Boost logo

Boost-Build :

From: Anthony Novatsis (anthonynovatsis_at_[hidden])
Date: 2008-06-03 06:08:14


> I don't think it's possible currently, but I can implement this. What option
> would be better:
>
> - A way to specify the exact soname (parameter to -h)
> - A way to say how many elements must be stripped -- either 0, so
> that soname would be libstuff.so.0.0, or 1, so that soname would be libstuff.so.0
> or 2 (which does not make sense in your case, but will help for libraries using
> 3-component version).
>
> - Volodya

Specifying how many elements should be stripped would be OK for most
cases, but it is less flexible.

Would it be possible to specify the exact -soname / -h parameter in a
similar way to the <tag> feature. You could then specify a default
behaviour which uses the same name as the object name (as it is now).
But the user is at liberty to give any name they desire. You may also
provide a "helper" rule which strips x version components from the
object name. This is just a suggestion. I am not sure how this fits
into the design/architecture of Boost.Build (of which I am not yet
familiar).

Anthony


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