GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: deprecate always enabled `--enable-static` · nodejs/node@50174cb

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • configure.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎configure.py‎

Copy file name to clipboardExpand all lines: configure.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@
11011101
action='store_true',
11021102
dest='enable_static',
11031103
default=None,
1104-
help='build as static library')
1104+
help=argparse.SUPPRESS) # Deprecated
11051105

11061106
parser.add_argument('--no-browser-globals',
11071107
action='store_true',
@@ -2075,9 +2075,6 @@ def configure_node(o):
20752075
if options.v8_options:
20762076
o['variables']['node_v8_options'] = options.v8_options.replace('"', '\\"')
20772077

2078-
if options.enable_static:
2079-
o['variables']['node_target_type'] = 'static_library'
2080-
20812078
o['variables']['node_debug_lib'] = b(options.node_debug_lib)
20822079

20832080
if options.debug_nghttp2:
@@ -2120,10 +2117,13 @@ def configure_node(o):
21202117
else:
21212118
o['variables']['coverage'] = 'false'
21222119

2120+
if options.enable_static and options.shared:
2121+
error('--enable-static must not be set with --shared')
2122+
if options.enable_static:
2123+
warn('--enable-static is deprecated and libnode.a is always produced')
2124+
21232125
if options.shared:
21242126
o['variables']['node_target_type'] = 'shared_library'
2125-
elif options.enable_static:
2126-
o['variables']['node_target_type'] = 'static_library'
21272127
else:
21282128
o['variables']['node_target_type'] = 'executable'
21292129

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.