build: fix openssl link error on windows · nodejs/node@890e210 · GitHub
Skip to content

Commit 890e210

Browse files
danbevMylesBorins
authored andcommitted
build: fix openssl link error on windows
This commit attempts to fix an issue when building on windows using the following command line options: .\vcbuild.bat dll debug x64 vc2015 This will result in the following options passed to configure: configure --debug --shared --dest-cpu=x64 --tag= This commit excludes the dependency to openssl if node is configured with --shared. Also, FP_API to the categories to export in mkssldef when generating the module definition (openssl.def) allowing the build to compile and link successfully. Fixes: #12952 PR-URL: #13078 Backport-PR-URL: #12948 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 3bb117e commit 890e210

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

node.gyp

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)