build/Jamfile.v2 | 44 +++++++++++++------------------------------- 1 file changed, 13 insertions(+), 31 deletions(-) diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index f1e2d05..f946a9b 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -22,6 +22,7 @@ project /boost/locale # Features feature.feature boost.locale.iconv : on off : optional propagated ; +feature.feature boost.locale.force-found-iconv : on off : optional propagated ; feature.feature boost.locale.icu : on off : optional propagated ; feature.feature boost.locale.posix : on off : optional propagated ; feature.feature boost.locale.std : on off : optional propagated ; @@ -132,13 +133,7 @@ if $(ICU_ICUUC_NAME) } else { - lib icuuc : : shared @path_options ; - lib icuuc : : msvc debug icuucd shared @path_options ; - lib icuuc : : intel windows debug icuucd shared @path_options ; - lib icuuc : : sicuuc static @path_options ; - lib icuuc : : msvc debug sicuucd static @path_options ; - lib icuuc : : intel windows debug sicuucd static @path_options ; - lib icuuc : : this_is_an_invalid_library_name ; + alias icuuc : /user-config//icuuc ; } if $(ICU_ICUDT_NAME) @@ -148,13 +143,7 @@ if $(ICU_ICUDT_NAME) } else { - lib icudt : : icudata shared @path_options ; - lib icudt : : icudt msvc shared @path_options ; - lib icudt : : icudt intel windows shared @path_options ; - lib icudt : : sicudata static @path_options ; - lib icudt : : sicudt msvc static @path_options ; - lib icudt : : sicudt intel windows static @path_options ; - lib icudt : : this_is_an_invalid_library_name ; + alias icudt : /user-config//icudt ; } if $(ICU_ICUIN_NAME) @@ -164,27 +153,16 @@ if $(ICU_ICUIN_NAME) } else { - lib icuin : : icui18n shared @path_options ; - lib icuin : : msvc debug icuind shared @path_options ; - lib icuin : : msvc icuin shared @path_options ; - lib icuin : : intel windows debug icuind shared @path_options ; - lib icuin : : intel windows icuin shared @path_options ; - lib icuin : : sicui18n static @path_options ; - lib icuin : : msvc debug sicuind static @path_options ; - lib icuin : : msvc sicuin static @path_options ; - lib icuin : : intel windows debug sicuind static @path_options ; - lib icuin : : intel windows sicuin static @path_options ; - lib icuin : : this_is_an_invalid_library_name ; + alias icuin : /user-config//icuin ; } +explicit icuuc icuin icudt ; + ICU_OPTS = $(.icu-path)/include - shared:icuuc/shared - shared:icudt/shared - shared:icuin/shared - static:icuuc - static:icudt - static:icuin + icuuc + icudt + icuin windows,clang:"advapi32.lib" static:U_STATIC_IMPLEMENTATION=1 ; @@ -213,6 +191,10 @@ rule configure-full ( properties * : flags-only ) } local found-iconv ; + if on in $(properties) + { + found-iconv = true ; + } if ! off in $(properties) {