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
  • Loading branch information
Trott committed Jan 16, 2022
1 parent e874630 commit 3be7bdd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,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 @@ -1850,7 +1850,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 3be7bdd

Please sign in to comment.