diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index f1321db..b0e9283 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -22,6 +21,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 ; @@ -133,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) @@ -149,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) @@ -165,27 +153,15 @@ 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 ; @@ -204,6 +204,11 @@ rule configure-full ( properties * : flags-only ) local found-iconv ; + if on in $(properties) + { + found-iconv = true ; + } + # The system Iconv on Solaris may have bugs, while the GNU Iconv is fine. # So enable by default only if not on Solaris. if on in $(properties)