A few questions with the new symbol exports for openssl on windows in 6.3.
Related issue in my project
Root gyp file
Internal gyp file
Relevant issue on core
I'm struggling with getting things to link properly. We currently link to our own openssl, but in windows this dies with 6.3. I've tried following the directions here (skipping the windows bit since those symbols are now exported), but it dies on all platforms with those changes.
So a few questions.
- Supposing I was only worried about 6.3, how exactly would I go about getting this to work?
- Realizing that ignoring everything before 6.3 is not an option, how would I conditionally do that?
node_module_version is the same in 6.2 and 6.3, so that's not sufficient. I've been looking around to see what variables node-gyp provides, but I haven't found anything yet. Additionally, it seems like maybe I can link against the built in for older versions of node on not windows, so I'm not sure how I would structure that conditional. We also have to support electron, which doesn't export the symbols, so we definitely have to at least maintain the ability to use our local.
- As an alternative, is there a flag I could use or something to prevent it from hitting those symbols and dying, (or perhaps an ordering I could change somehow via the gypfiles) and just keep linking to our own local?
Sorry for the small wall of text here, but I've been banging my head against this for a while, and I'm completely stumped.
A few questions with the new symbol exports for openssl on windows in 6.3.
Related issue in my project
Root gyp file
Internal gyp file
Relevant issue on core
I'm struggling with getting things to link properly. We currently link to our own openssl, but in windows this dies with 6.3. I've tried following the directions here (skipping the windows bit since those symbols are now exported), but it dies on all platforms with those changes.
So a few questions.
node_module_versionis the same in 6.2 and 6.3, so that's not sufficient. I've been looking around to see what variables node-gyp provides, but I haven't found anything yet. Additionally, it seems like maybe I can link against the built in for older versions of node on not windows, so I'm not sure how I would structure that conditional. We also have to support electron, which doesn't export the symbols, so we definitely have to at least maintain the ability to use our local.Sorry for the small wall of text here, but I've been banging my head against this for a while, and I'm completely stumped.