Boost logo

Boost-Build :

Subject: Re: [Boost-build] Change shared library soname format
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-04-04 10:49:45

On 4/4/2016 1:20 PM, Marek Skalický wrote:
> Hi,
> is there any possibility to change a format of shared library names?
> I would like to build libraries with name:
> (I would like to add a prefix to major soname number)


there's no option at present to do what you need. The naming is controlled by boostcpp.jam in Boost root,
function 'tag', specifically around line 139 that say:

             result = [ common.format-name
                 : $(name) : $(type) : $(property-set) ] ;

and then later:

        result = $(result).$(BOOST_VERSION) ;

So, you can add a build id after baseline, but not inside the version. You can adjust this code to
achieve your behaviour easily, though, say:

        result = $(result).prefix$(BOOST_VERSION) ;

Vladimir Prus

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