diff --git a/configure.py b/configure.py index 995d800bf69461..47454e1333323b 100755 --- a/configure.py +++ b/configure.py @@ -2388,6 +2388,7 @@ def icu_download(path): # always set icu_small, node.gyp depends on it being defined. o['variables']['icu_small'] = b(False) + o['variables']['icu_system'] = b(False) # prevent data override o['defines'] += ['ICU_NO_USER_DATA_OVERRIDE'] @@ -2424,6 +2425,7 @@ def icu_download(path): o['variables']['v8_enable_i18n_support'] = 1 elif with_intl == 'system-icu': # ICU from pkg-config. + o['variables']['icu_system'] = b(True) o['variables']['v8_enable_i18n_support'] = 1 pkgicu = pkg_config(['icu-i18n', 'icu-uc']) if not pkgicu[0]: diff --git a/test/parallel/test-temporal-with-zoneinfo.js b/test/parallel/test-temporal-with-zoneinfo.js index 095652bcfc7e3e..70dfaf016d1137 100644 --- a/test/parallel/test-temporal-with-zoneinfo.js +++ b/test/parallel/test-temporal-with-zoneinfo.js @@ -12,6 +12,10 @@ if (!process.config.variables.v8_enable_temporal_support) { if (!common.hasFullICU) { common.skip('Time zone support unavailable when not built with full ICU'); } +// TODO(aduh95): fix zoneinfo support with system-icu. +if (process.config.variables.icu_system) { + common.skip('Time zone support unavailable on --with-intl=system-icu builds'); +} // Use globalThis.Temporal to workaround linter complaints. assert.strictEqual(typeof globalThis.Temporal, 'object');