Skip to content

Add automatic DLL support for Windows Ruby Installer #241

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

johnnyshields
Copy link

@johnnyshields johnnyshields commented Feb 25, 2025

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
Copy link
Author

@tarcieri can you please take a look at this?

@tarcieri
Copy link
Contributor

@johnnyshields can you rebase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants