0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 20:29:23 +01:00

build: do not disable inspector when intl is disabled

PR-URL: https://github.com/nodejs/node/pull/37954
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
Rich Trott 2021-03-29 22:42:20 -07:00 committed by Node.js GitHub Bot
parent 3c6547fcc8
commit a065083bd5

View File

@ -577,7 +577,7 @@ intl_optgroup.add_argument('--without-intl',
action='store_const',
dest='with_intl',
const='none',
help='Disable Intl, same as --with-intl=none (disables inspector)')
help='Disable Intl, same as --with-intl=none')
intl_optgroup.add_argument('--with-icu-path',
action='store',
@ -1934,7 +1934,6 @@ def configure_intl(o):
def configure_inspector(o):
disable_inspector = (options.without_inspector or
options.with_intl in (None, 'none') or
options.without_ssl)
o['variables']['v8_enable_inspector'] = 0 if disable_inspector else 1