Skip to content

Commit d95eed3

Browse files
committed
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 oneclick/rubyinstaller2#163
1 parent 4f99ff1 commit d95eed3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: gdbm.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ Gem::Specification.new do |spec|
1818
spec.require_paths = ["lib"]
1919
spec.extensions = ["ext/gdbm/extconf.rb"]
2020
spec.required_ruby_version = ">= 2.3.0"
21+
spec.metadata["msys2_mingw_dependencies"] = "gdbm"
2122
end

0 commit comments

Comments
 (0)