diff --git a/v2/tools/common.jam b/v2/tools/common.jam index f74de3979..df2a7bee5 100644 --- a/v2/tools/common.jam +++ b/v2/tools/common.jam @@ -719,6 +719,14 @@ local rule toolset-tag ( name : type ? : property-set ) { version = ; } + + # On borland, version is not added for compatibility + # with V1. + if $(tag) = bcb + { + version = ; + } + tag += $(version) ; return $(tag:J=) ; diff --git a/v2/tools/stage.jam b/v2/tools/stage.jam index ab9ea585d..5d4793ed8 100644 --- a/v2/tools/stage.jam +++ b/v2/tools/stage.jam @@ -555,6 +555,13 @@ rule rename ( name : type ? : property-set : unversioned ? ) version = ; } + # On borland, version is not added for compatibility + # with V1. + if $(toolset-tag) = bcb + { + version = ; + } + toolset-tag += $(version) ; }