Skip to content

Commit

Permalink
build: do not disable inspector when intl is disabled
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
Trott authored and MylesBorins committed Feb 20, 2023
1 parent ddf5002 commit c781a48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions configure.py
Expand Up @@ -577,7 +577,7 @@
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',
Expand Down Expand Up @@ -1934,7 +1934,6 @@ def icu_download(path):

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

Expand Down

0 comments on commit c781a48

Please sign in to comment.