Skip to content

Commit

Permalink
Add msys2 library dependency tag in gem metadata
Browse files Browse the repository at this point in the history
RubyInstaller2 supports metadata tags for installation of dependent
MSYS2/MINGW libraries. The openssl gem requires the mingw-openssl
package to be installed on the system, which the gem installer takes
care about, when this tag is set.

The feature is documented here:
https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers#msys2-library-dependency

This fixes issues like
oneclick/rubyinstaller2#54 and
oneclick/rubyinstaller2#53 .
  • Loading branch information
larskanis authored and rhenium committed Jul 27, 2017
1 parent d2a7938 commit 061549b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openssl.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake-compiler"
spec.add_development_dependency "test-unit", "~> 3.0"
spec.add_development_dependency "rdoc"

spec.metadata["msys2_mingw_dependencies"] = "openssl"
end

0 comments on commit 061549b

Please sign in to comment.