From af6408109b7ec0836dbaafe80b28d192bdd53cda Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 18 Oct 2006 13:02:31 +0000 Subject: [PATCH] Fix building on Windows. tools/ * builtin.jam: linking-generator.run (Return nothing if it failed). [SVN r35657] --- v2/tools/builtin.jam | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/v2/tools/builtin.jam b/v2/tools/builtin.jam index 859f232bf..8e63d2c53 100644 --- a/v2/tools/builtin.jam +++ b/v2/tools/builtin.jam @@ -737,10 +737,13 @@ class linking-generator : generator local result = [ generator.run $(project) $(name) : $(property-set) : $(sources) ] ; - local ur = [ extra-usage-requirements $(result) : $(property-set) ] ; - ur = [ $(ur).add - [ property-set.create $(extra-xdll-paths) ] ] ; - + local ur ; + if $(result) + { + ur = [ extra-usage-requirements $(result) : $(property-set) ] ; + ur = [ $(ur).add + [ property-set.create $(extra-xdll-paths) ] ] ; + } return $(ur) $(result) ; }