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

Set architecture to "universal" for Windows (fix #934)

This is based on this commit:

  https://github.com/djberg96/win32-api/commit/ceb47f0eb48e

It should fix the issue where we were only building i386-specific gems
for Windows.
This commit is contained in:
Ryan Fitzgerald 2014-05-02 22:43:57 -07:00
parent c710ec3661
commit 0ee65eee4e

View file

@ -82,11 +82,11 @@ namespace :jruby do
end end
[:mingw32, :mswin32].each do |v| [:mingw32, :mswin32].each do |platform|
namespace v do namespace platform do
spec = modify_base_gemspec do |s| spec = modify_base_gemspec do |s|
s.add_dependency('win32console', '~> 1.3') s.add_dependency('win32console', '~> 1.3')
s.platform = "i386-#{v}" s.platform = Gem::Platform.new(['universal', platform])
end end
Gem::PackageTask.new(spec) do |pkg| Gem::PackageTask.new(spec) do |pkg|