From a25d3f128833db9c3558cb0822ff96d1449b7cf5 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 21 Oct 2006 10:39:48 +0000 Subject: [PATCH] Don't include toolset version in libs built with bcb [SVN r35684] --- v2/tools/common.jam | 8 ++++++++ v2/tools/stage.jam | 7 +++++++ 2 files changed, 15 insertions(+) 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) ; }