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: refine static and shared lib build · nodejs/node@658dd40

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • configure
  • node.gypi
  • node.gyp
  • test/addons
    • openssl-binding
      • binding.gyp
    • zlib-binding
      • binding.gyp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎configure‎

Copy file name to clipboardExpand all lines: configure
+8-3Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,6 @@ def configure_node(o):
881881
configure_mips(o)
882882

883883
if flavor == 'aix':
884-
o['variables']['node_core_target_name'] = 'node_base'
885884
o['variables']['node_target_type'] = 'static_library'
886885

887886
if target_arch in ('x86', 'x64', 'ia32', 'x32'):
@@ -991,6 +990,13 @@ def configure_node(o):
991990
else:
992991
o['variables']['coverage'] = 'false'
993992

993+
if options.shared:
994+
o['variables']['node_target_type'] = 'shared_library'
995+
elif options.enable_static:
996+
o['variables']['node_target_type'] = 'static_library'
997+
else:
998+
o['variables']['node_target_type'] = 'executable'
999+
9941000
def configure_library(lib, output):
9951001
shared_lib = 'shared_' + lib
9961002
output['variables']['node_' + shared_lib] = b(getattr(options, shared_lib))
@@ -1487,8 +1493,7 @@ config = {
14871493
'BUILDTYPE': 'Debug' if options.debug else 'Release',
14881494
'USE_XCODE': str(int(options.use_xcode or 0)),
14891495
'PYTHON': sys.executable,
1490-
'NODE_TARGET_TYPE': variables['node_target_type'] if options.enable_static \
1491-
else '',
1496+
'NODE_TARGET_TYPE': variables['node_target_type'],
14921497
}
14931498

14941499
if options.prefix:

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.