Add msys2 library dependency tag in gem metadata.
RubyInstaller2 supports metadata tags for installation of dependent MSYS2/MINGW libraries. The fxruby source gem requires the fox 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
... | ... | @@ -47,6 +47,7 @@ Gem::Specification.new do |spec| |
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
spec.extensions = ["ext/fox16_c/extconf.rb"] | ||
spec.metadata['msys2_mingw_dependencies'] = 'fox' | ||
spec.add_runtime_dependency 'mini_portile2', '~> 2.1' | ||
end |
Please register or sign in to comment