1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/gdbm] Add dependency to gdbm package on mingw

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

Fixes https://github.com/oneclick/rubyinstaller2/issues/163

https://github.com/ruby/gdbm/commit/d95eed3e86
This commit is contained in:
Lars Kanis 2019-12-13 10:38:44 +01:00 committed by Hiroshi SHIBATA
parent ad3f4c07d9
commit 22d36c463f

View file

@ -18,4 +18,5 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.extensions = ["ext/gdbm/extconf.rb"]
spec.required_ruby_version = ">= 2.3.0"
spec.metadata["msys2_mingw_dependencies"] = "gdbm"
end