Can I link a Node.js C++ extension against Node's internal OpenSSL implementation? -


i have node extension written in c++ needs link against openssl. see node has tls module implemented using openssl. can link extension against node copy of openssl in binding.gyp file?

it turns out exact scenario covered in node-gyp documentation. basically, there directories openssl headers included node.js source distribution , can added node-gyp include path list. on linux, actual linking unnecessary because symbols made available extension node runtime when loaded.

on windows, not work, , extension needs explicitly compile , link against external copy of openssl installed separately.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -