Skip to content

Commit 8d0a3a4

Browse files
committed
Run boost ICU hack when using ICU (vs. building ICU).
1 parent 184bb06 commit 8d0a3a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,14 +270,14 @@ 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-
if [[ $BUILD_ICU ]]; then
273+
if [[ $WITH_ICU ]]; then
274274
local SUCCESS="int main() { return 0; }"
275275
local REGEX_TEST="libs/regex/build/has_icu_test.cpp"
276276
local LOCALE_TEST="libs/locale/build/has_icu_test.cpp"
277277

278278
echo $SUCCESS > $REGEX_TEST
279279
echo $SUCCESS > $LOCALE_TEST
280-
280+
281281
echo "hack: ICU detection modified, will always indicate found."
282282
fi
283283
}

0 commit comments

Comments
 (0)