@@ -289,7 +289,7 @@ configure_options()
289289configure_links ()
290290{
291291 # Configure dynamic linker run-time bindings.
292- if [[ ($OS == Linux) && ! ($PREFIX )]]; then
292+ if [[ ($OS == Linux) && ! ($PREFIX ) ]]; then
293293 ldconfig
294294 fi
295295}
@@ -324,19 +324,19 @@ initialize_boost_icu()
324324 BOOST_ICU_ONLY=" boost.locale.iconv=off boost.locale.posix=off"
325325
326326 # Extract ICU prefix directory from package config variable.
327- ICU_PREFIX=` pkg-config icu-i18n --variable=prefix`
327+ local ICU_PREFIX=` pkg-config icu-i18n --variable=prefix`
328328 BOOST_ICU_PATH=" -sICU_PATH=$ICU_PREFIX "
329329 BOOTSTRAP_WITH_ICU=" --with-icu=$ICU_PREFIX "
330330
331331 # Extract ICU libs from package config variables and augment with -ldl.
332- # ICU_LIBS="`pkg-config icu-i18n --libs` -ldl"
333- # BOOST_ICU_LINK="-sICU_LINK=$ICU_LIBS"
332+ local ICU_LIBS=" ` pkg-config icu-i18n --libs` -ldl"
333+ BOOST_ICU_LINK=" -sICU_LINK=$ICU_LIBS "
334334 fi
335335}
336336
337337initialize_icu_packages ()
338338{
339- if [[ $OS == Darwin && ! ($BUILD_ICU )]]; then
339+ if [[ $OS == Darwin && ! ($BUILD_ICU ) ]]; then
340340 # Update PKG_CONFIG_PATH for ICU package installations on OSX.
341341 # OSX provides libicucore.dylib with no pkgconfig and doesn't support
342342 # renaming or important features, so we can't use that.
@@ -476,7 +476,7 @@ build_from_tarball_boost()
476476 tar --extract --file $ARCHIVE --bzip2 --strip-components=1
477477
478478 # Circumvent Boost ICU detection bug.
479- # circumvent_boost_icu_detection
479+ circumvent_boost_icu_detection
480480
481481 initialize_boost_icu
482482
0 commit comments