MCPcopy Index your code
hub / github.com/nodejs/node / configure_static

Function configure_static

configure.py:2370–2382  ·  view source on GitHub ↗
(o)

Source from the content-addressed store, hash-verified

2368 not options.without_ssl)
2369
2370def configure_static(o):
2371 if options.fully_static or options.partly_static:
2372 if flavor == 'mac':
2373 warn("Generation of static executable will not work on macOS "
2374 "when using the default compilation environment")
2375 return
2376
2377 if options.fully_static:
2378 o['libraries'] += ['-static']
2379 elif options.partly_static:
2380 o['libraries'] += ['-static-libgcc', '-static-libstdc++']
2381 if options.enable_asan:
2382 o['libraries'] += ['-static-libasan']
2383
2384
2385def write(filename, data):

Callers 1

configure.pyFile · 0.85

Calls 1

warnFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…