Commit 70060ee
test: --enable-static linked executable
The motivation for this commit is to enable projects embedding Node.js
and building with --enable-static to be able to run the test suite and
linter.
Currently when building with --enable-static no node executable
will be created which means that the tests (apart from the cctest) and
linter cannot be run.
This is currently a work in progress and works on MacOS but I need to
run the CI, and manually on different environments to verify that it
works as expected.
PR-URL: #14986
Refs: #14158
Refs: #14892
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>1 parent 578d80b commit 70060eeCopy full SHA for 70060ee
File tree
Expand file treeCollapse file tree
5 files changed
+87
-14
lines changedOpen diff view settings
Filter options
- test/addons
- openssl-binding
- zlib-binding
Expand file treeCollapse file tree
5 files changed
+87
-14
lines changedOpen diff view settings
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
64 | 64 | |
65 | 65 | |
66 | 66 | |
67 | | - |
| 67 | + |
68 | 68 | |
69 | | - |
| 69 | + |
70 | 70 | |
71 | 71 | |
72 | 72 | |
|
Collapse file
+55-6Lines changed: 55 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
339 | 339 | |
340 | 340 | |
341 | 341 | |
342 | | - |
| 342 | + |
| 343 | + |
| 344 | + |
| 345 | + |
| 346 | + |
| 347 | + |
| 348 | + |
343 | 349 | |
344 | 350 | |
345 | 351 | |
| ||
506 | 512 | |
507 | 513 | |
508 | 514 | |
509 | | - |
| 515 | + |
510 | 516 | |
511 | 517 | |
512 | 518 | |
| ||
527 | 533 | |
528 | 534 | |
529 | 535 | |
530 | | - |
| 536 | + |
531 | 537 | |
532 | 538 | |
533 | 539 | |
| ||
589 | 595 | |
590 | 596 | |
591 | 597 | |
592 | | - |
| 598 | + |
| 599 | + |
593 | 600 | |
594 | 601 | |
595 | | - |
| 602 | + |
596 | 603 | |
597 | 604 | |
598 | | - |
| 605 | + |
| 606 | + |
599 | 607 | |
600 | 608 | |
601 | 609 | |
| ||
949 | 957 | |
950 | 958 | |
951 | 959 | |
| 960 | + |
| 961 | + |
| 962 | + |
| 963 | + |
| 964 | + |
| 965 | + |
| 966 | + |
| 967 | + |
| 968 | + |
| 969 | + |
| 970 | + |
| 971 | + |
| 972 | + |
| 973 | + |
| 974 | + |
| 975 | + |
| 976 | + |
| 977 | + |
| 978 | + |
| 979 | + |
| 980 | + |
| 981 | + |
| 982 | + |
| 983 | + |
| 984 | + |
| 985 | + |
| 986 | + |
| 987 | + |
| 988 | + |
| 989 | + |
| 990 | + |
| 991 | + |
| 992 | + |
| 993 | + |
| 994 | + |
| 995 | + |
| 996 | + |
| 997 | + |
| 998 | + |
| 999 | + |
| 1000 | + |
952 | 1001 | |
953 | 1002 | |
954 | 1003 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
78 | 78 | |
79 | 79 | |
80 | 80 | |
81 | | - |
| 81 | + |
82 | 82 | |
83 | 83 | |
84 | 84 | |
| ||
90 | 90 | |
91 | 91 | |
92 | 92 | |
93 | | - |
| 93 | + |
94 | 94 | |
95 | 95 | |
96 | 96 | |
|
Collapse file
test/addons/openssl-binding/binding.gyp
Copy file name to clipboardExpand all lines: test/addons/openssl-binding/binding.gyp+15-4Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
2 | 6 | |
3 | 7 | |
4 | 8 | |
5 | 9 | |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
10 | 21 | |
11 | 22 | |
12 | 23 | |
|
Collapse file
test/addons/zlib-binding/binding.gyp
Copy file name to clipboard+13Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
2 | 6 | |
3 | 7 | |
4 | 8 | |
5 | 9 | |
6 | 10 | |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
7 | 20 | |
8 | 21 | |
9 | 22 | |
0 commit comments