Opened 17 years ago
#211 new defect
solib version support
| Reported by: | ghost | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | |
| Keywords: | Cc: |
Description
Presently, adding version to the name of shared library in unix requires something like:
import virtual-target ;
rule add-version ( name : type ? : property-set )
{
if $(type) = SHARED_LIB &&
( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix ) &&
! ( [ $(property-set).get <toolset> ] in pgi ) )
{
local result = [ virtual-target.add-prefix-and-suffix $(name) : $(type) :
$(property-set) ] ;
result = $(result).1.2.3 ;
return $(result) ;
}
}
Which is too complex. Maybe, 'solib-version' property is in order.
Note:
See TracTickets
for help on using tickets.
