rbnacl icon indicating copy to clipboard operation
rbnacl copied to clipboard

Add automatic DLL support for Windows Ruby Installer

Open johnnyshields opened this issue 11 months ago • 2 comments

This PR uses the Gemspec msys2_mingw_dependencies metadata to automatically install the appropriate Mingw package. You can see the same thing is used for the Psych gem here.

This saves Windows users the trouble of downloading/renaming the DLL file.

You can see here the file is located at /ucrt64/bin/libsodium-26.dll on the Mingw package, hence we need to add a new possible package name to the ffi_lib call.

johnnyshields avatar Feb 25 '25 16:02 johnnyshields

@tarcieri can you please take a look at this?

johnnyshields avatar May 17 '25 13:05 johnnyshields

@johnnyshields can you rebase?

tarcieri avatar May 19 '25 12:05 tarcieri