From 22d36c463f5db313a25431150f21c610f4bd6a39 Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Fri, 13 Dec 2019 10:38:44 +0100 Subject: [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 --- ext/gdbm/gdbm.gemspec | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/gdbm') diff --git a/ext/gdbm/gdbm.gemspec b/ext/gdbm/gdbm.gemspec index 6fd42c022f..d15d20847d 100644 --- a/ext/gdbm/gdbm.gemspec +++ b/ext/gdbm/gdbm.gemspec @@ -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 -- cgit v1.2.3