diff --git a/configure.py b/configure.py index 6b91212c7bc..690cb06208e 100755 --- a/configure.py +++ b/configure.py @@ -813,11 +813,11 @@ parser.add_argument('--without-npm', default=None, help='do not install the bundled npm (package manager)') -parser.add_argument('--without-corepack', +parser.add_argument('--with-corepack', action='store_true', - dest='without_corepack', + dest='with_corepack', default=None, - help='do not install the bundled Corepack') + help='do install the bundled Corepack (experimental, will be removed without notice)') parser.add_argument('--control-flow-guard', action='store_true', @@ -1448,7 +1448,7 @@ def configure_node(o): o['variables']['OS'] = 'android' o['variables']['node_prefix'] = options.prefix o['variables']['node_install_npm'] = b(not options.without_npm) - o['variables']['node_install_corepack'] = b(not options.without_corepack) + o['variables']['node_install_corepack'] = b(options.with_corepack) o['variables']['control_flow_guard'] = b(options.enable_cfg) o['variables']['node_use_amaro'] = b(not options.without_amaro) o['variables']['debug_node'] = b(options.debug_node)