| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b282c85 commit 9b02f36
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -501,6 +501,18 @@ | |||
| 501 | 501 | '-Wl,--export-dynamic', | |
| 502 | 502 | ], | |
| 503 | 503 | }], | |
| 504 | + # if node is built as an executable, | ||
| 505 | + # the openssl mechanism for keeping itself "dload"-ed to ensure proper | ||
| 506 | + # atexit cleanup does not apply | ||
| 507 | + ['node_shared_openssl!="true" and node_shared!="true"', { | ||
| 508 | + 'defines': [ | ||
| 509 | + # `OPENSSL_NO_PINSHARED` prevents openssl from dload | ||
| 510 | + # current node executable, | ||
| 511 | + # see https://github.com/nodejs/node/pull/21848 | ||
| 512 | + # or https://github.com/nodejs/node/issues/27925 | ||
| 513 | + 'OPENSSL_NO_PINSHARED' | ||
| 514 | + ], | ||
| 515 | + }], | ||
| 504 | 516 | ['node_shared_openssl!="true"', { | |
| 505 | 517 | # `OPENSSL_THREADS` is defined via GYP for openSSL for all architectures. | |
| 506 | 518 | 'defines': [ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments