Hi Burak,

Thanks for looking into this! If I am correct there is a gyp fork 
maintained by Node.js and called gyp-next.

We have been contemplating moving NSS to use gyp-next but haven’t got
to try yet. Any chance you could have a look and see if building NSS
with gyp-next using MSVC 17 would work? (I don’t have that version of MSVC yet.)

Best,
Benjamin

> On 4 Jan 2022, at 14:23, Burak Arslan <pub...@burakarslan.com> wrote:
> 
> Hello,
> 
> It's not possible to build NSS with GYP using MSVC 17 (Visual Studio
> 2022) because the required definitions are missing from MSVSVersion.py.
> 
> I forked and patched GYP so now it seems to work.
> 
> Fork is here: https://github.com/plq/gyp/
> 
> I added some patches from other forks that looked nice but actually only
> this[1] patch is required, the rest is optional.
> 
> This is part of the work that tries to add NSS and NSPR ports to vcpkg:
> https://github.com/microsoft/vcpkg/pull/21281
> 
> Best regards
> Burak
> 
> [1]:
> https://github.com/plq/gyp/commit/b3177c3f6c2c45a8ca098ae0f0ebb4536c624762
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "dev-tech-crypto@mozilla.org" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dev-tech-crypto+unsubscr...@mozilla.org.
> To view this discussion on the web visit 
> https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/2c4adc73-3c47-145c-e4c9-a3ad33df1af1%40burakarslan.com.

-- 
You received this message because you are subscribed to the Google Groups 
"dev-tech-crypto@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dev-tech-crypto+unsubscr...@mozilla.org.
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/78D4E879-F3C9-4A8D-9447-8CB2CA793E43%40mozilla.com.

Reply via email to