-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
process.release.headersUrl: distributors might want to provide an absolute file url #20066
Comments
That should already work if you do (The |
Why i am asking here is to document those two usages:
Of course node-gyp needs to handle this, but maybe some other software is relying on headersUrl and will break if i start changing it. It's a breaking change ! |
Update: it will break other software: |
Meteor is its own thing so probably not a concern. |
Ok, but it's still some kind of API change, isn't it ? It's a documented field. |
It's surely not a good idea to change the behavior of those properties as they are computed in Lines 3026 to 3046 in b55a11d
I also note there is a libUrl property for windows.Maybe a includePath property would be more meaningful here.
|
Just to be clear, I don't think this feature request has any positive or negative consequences for Meteor. Meteor uses official Node releases when we possibly can (unless there's a critical fix that requires a temporary custom build), so we'll be using the default |
There's been zero activity on this for over 2 years. It's still something that could likely be documented but given that it hasn't been picked up yet, it's unlikely. Recommend closing for now. |
Closing given lack of responses and activity. |
In which case it wouldn't be a .tar.gz file, but a directory (for example file:///usr/include/nodejs on debian).
This would be useful for configurability of node-gyp, as explained in nodejs/node-gyp#1415.
On debian we build nodejs against potentially different versions of shared libraries required by nodejs.
Their respective headers are all available in system-installed places for gyp to discover.
Until now it didn't change anything, however it becomes problematic when building a module using openssl: node-gyp pulls the "official" nodejs 8 headers with openssl 1.0 headers, but the system-installed node has been built against openssl 1.1.
Of course, the node-gyp debian package is already patched so that it uses the right include directory.
But that doesn't prevent npm-installed modules from installing their own node-gyp version which will download the "wrong" headers.
cc-ing @nodejs/delivery-channels here again since many distributions are already using openssl 1.1.
The text was updated successfully, but these errors were encountered: