From 6f7f8a688617417dac61c0a6387d3474d844e88c Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 4 Apr 2009 21:20:18 +0000 Subject: [PATCH] Allow ICU_PATH path-constant in project-config to work. It is only affecting build if not ICU_PATH is set on command line. [SVN r52176] --- build/Jamfile.v2 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 28c5dd17..d4d494c0 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -10,10 +10,13 @@ project boost/regex # # ICU configuration: # -local ICU_PATH = [ modules.peek : ICU_PATH ] ; +if [ modules.peek : ICU_PATH ] +{ + ICU_PATH = [ modules.peek : ICU_PATH ] ; +} + rule check-icu-config ( ) { - local ICU_PATH = [ modules.peek : ICU_PATH ] ; local HAVE_ICU = [ modules.peek : HAVE_ICU ] ; local ICU_LINK = [ modules.peek : ICU_LINK ] ;