Skip to content

Commit

Permalink
Add dependency to gdbm package on mingw
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

Fixes oneclick/rubyinstaller2#163
  • Loading branch information
larskanis committed Dec 13, 2019
1 parent 4f99ff1 commit d95eed3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gdbm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d95eed3

Please sign in to comment.