From 2d54410b6cb213531839dbc529537f819495dada Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 11 Dec 2003 13:42:40 +0000 Subject: [PATCH] Don't even call the 'init' rule of toolset twice. [SVN r21224] --- v2/build/toolset.jam | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/v2/build/toolset.jam b/v2/build/toolset.jam index 7bb4ce6c6..762a1f55e 100644 --- a/v2/build/toolset.jam +++ b/v2/build/toolset.jam @@ -20,7 +20,11 @@ import generators ; rule using ( toolset-module : * ) { import $(toolset-module) ; - $(toolset-module).init $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) ; + if ! $(.$(toolset-module)-init-callled) + { + $(toolset-module)-init-callled = true ; + $(toolset-module).init $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) ; + } } # Expands subfeatures in each property sets.