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 — Introduce --link-module to ./configure · nodejs/node@1a531b4

File tree

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

‎configure‎

Copy file name to clipboardExpand all lines: configure
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ parser.add_option("--fully-static",
8484
help="Generate an executable without external dynamic libraries. This "
8585
"will not work on OSX when using default compilation environment")
8686

87+
parser.add_option("--link-module",
88+
action="append",
89+
dest="linked_module",
90+
help="Path to a JS file to be bundled in the binary as a builtin."
91+
"This module will be referenced by basename without extension."
92+
"Can be used multiple times")
93+
8794
parser.add_option("--openssl-no-asm",
8895
action="store_true",
8996
dest="openssl_no_asm",
@@ -697,6 +704,9 @@ def configure_node(o):
697704
if options.enable_static:
698705
o['variables']['node_target_type'] = 'static_library'
699706

707+
if options.linked_module:
708+
o['variables']['library_files'] = options.linked_module
709+
700710

701711
def configure_library(lib, output):
702712
shared_lib = 'shared_' + lib

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.