diff options
author | Job Bautista <jobbautista9@aol.com> | 2023-03-24 17:45:16 +0800 |
---|---|---|
committer | Job Bautista <jobbautista9@aol.com> | 2023-03-24 17:45:16 +0800 |
commit | ee870812ffeac2731af182d8388367635e84242d (patch) | |
tree | 7aeeacf67346a912bc4cb3ef56d38cd8f5b63fb9 /config/external/icu/moz.build | |
parent | 0c63f5a27346875dd04c8bb41eced35203d20567 (diff) | |
download | uxp-ee870812ffeac2731af182d8388367635e84242d.tar.gz |
Revert "Issue #2165 - Follow-up: No longer support bundling the ICU data file into packaging, fold it into the ICU shared library, and always build ICU shared."
This reverts commit 0c63f5a27346875dd04c8bb41eced35203d20567.
Building shared ICU is currently broken in non-Windows, so we need the option for now.
Diffstat (limited to 'config/external/icu/moz.build')
-rw-r--r-- | config/external/icu/moz.build | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/config/external/icu/moz.build b/config/external/icu/moz.build index 79c879f219..e403f17c78 100644 --- a/config/external/icu/moz.build +++ b/config/external/icu/moz.build @@ -9,5 +9,11 @@ DIRS += [ 'i18n', ] -SharedLibrary('icu') -SHARED_LIBRARY_NAME = 'icu' + CONFIG['MOZ_ICU_VERSION'] +if CONFIG['MOZ_ICU_DATA_ARCHIVE']: + DIRS += ['stubdata'] + USE_LIBS += ['icustubdata'] + Library('icu') +else: + USE_LIBS += ['icudata'] + SharedLibrary('icu') + SHARED_LIBRARY_NAME = 'icu' + CONFIG['MOZ_ICU_VERSION'] |