@@ -32,8 +32,8 @@ BUILD_DIR="build-libbitcoin-server"
3232
3333# Boost archive for gcc.
3434# ------------------------------------------------------------------------------
35- BOOST_URL_GCC=" http://sourceforge.net/projects/boost/files/boost/1.50 .0/boost_1_50_0 .tar.bz2/download"
36- BOOST_ARCHIVE_GCC=" boost_1_50_0 .tar.bz2"
35+ BOOST_URL_GCC=" http://sourceforge.net/projects/boost/files/boost/1.55 .0/boost_1_55_0 .tar.bz2/download"
36+ BOOST_ARCHIVE_GCC=" boost_1_55_0 .tar.bz2"
3737BOOST_STANDARD_GCC=\
3838" threading=multi " \
3939" variant=release " \
@@ -270,14 +270,16 @@ circumvent_boost_icu_detection()
270270 # Boost ICU discovery fails when using prefix, can't fix with -sICU_LINK,
271271 # so we rewrite the two 'has_icu_test.cpp' files to always return success.
272272
273- local SUCCESS=" int main() { return 0; }"
274- local REGEX_TEST=" libs/regex/build/has_icu_test.cpp"
275- local LOCALE_TEST=" libs/locale/build/has_icu_test.cpp"
276-
277- echo $SUCCESS > $REGEX_TEST
278- echo $SUCCESS > $LOCALE_TEST
279-
280- echo " hack: ICU detection modified, will always indicate found."
273+ if [[ $BUILD_ICU ]]; then
274+ local SUCCESS=" int main() { return 0; }"
275+ local REGEX_TEST=" libs/regex/build/has_icu_test.cpp"
276+ local LOCALE_TEST=" libs/locale/build/has_icu_test.cpp"
277+
278+ echo $SUCCESS > $REGEX_TEST
279+ echo $SUCCESS > $LOCALE_TEST
280+
281+ echo " hack: ICU detection modified, will always indicate found."
282+ fi
281283}
282284
283285configure_options ()
0 commit comments