diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 4026d7ec..d428a2d2 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -1,6 +1,6 @@ # copyright John Maddock 2003 -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or copy at +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt. import modules ; @@ -17,13 +17,13 @@ local disable-icu = [ MATCH (--disable-icu) : [ modules.peek : ARGV ] ] ; rule path_options ( properties * ) { local result ; - if 64 in $(properties) && msvc in $(properties) + if 64 in $(properties) && msvc in $(properties) { - result = $(ICU_PATH)/bin64 $(ICU_PATH)/lib64 ; + result = $(ICU_PATH)/bin64 $(ICU_PATH)/lib64 ; } else { - result = $(ICU_PATH)/bin $(ICU_PATH)/lib ; + result = $(ICU_PATH)/bin $(ICU_PATH)/lib ; } return $(result) ; } @@ -34,24 +34,24 @@ rule path_options ( properties * ) if ! $(disable-icu) { if [ modules.peek : ICU_LINK ] - { + { errors.user-error : "The ICU_LINK option is no longer supported by the Boost.Regex build - please refer to the documentation for equivalent options" ; } if [ modules.peek : ICU_PATH ] - { + { ICU_PATH = [ modules.peek : ICU_PATH ] ; } if [ modules.peek : ICU_ICUUC_NAME ] - { + { ICU_ICUUC_NAME = [ modules.peek : ICU_ICUUC_NAME ] ; } if [ modules.peek : ICU_ICUDT_NAME ] - { + { ICU_ICUDT_NAME = [ modules.peek : ICU_ICUDT_NAME ] ; } if [ modules.peek : ICU_ICUIN_NAME ] - { + { ICU_ICUIN_NAME = [ modules.peek : ICU_ICUIN_NAME ] ; } @@ -102,8 +102,8 @@ if ! $(disable-icu) lib icuin : : this_is_an_invalid_library_name ; } - ICU_OPTS = - $(ICU_PATH)/include + ICU_OPTS = + $(ICU_PATH)/include shared:icuuc/shared shared:icudt/shared shared:icuin/shared @@ -111,7 +111,7 @@ if ! $(disable-icu) static:icudt static:icuin windows,clang:"advapi32.lib" - BOOST_HAS_ICU=1 + BOOST_HAS_ICU=1 static:U_STATIC_IMPLEMENTATION=1 ; @@ -144,13 +144,15 @@ explicit has_icu ; alias icu_options : : : : [ check-target-builds has_icu : $(ICU_OPTS) : ] ; -SOURCES = +SOURCES = posix_api.cpp wide_posix_api.cpp ; lib boost_regex : ../src/$(SOURCES) icu_options - : - shared:BOOST_REGEX_DYN_LINK=1 - gcc-cygwin:static + : + shared:BOOST_REGEX_DYN_LINK=1 + gcc-cygwin:static + : : : + BOOST_REGEX_NO_LIB=1 ;