mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 21:19:50 +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:
parent
3c6547fcc8
commit
a065083bd5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user