Skip to content

Commit

Permalink
Set architecture to "universal" for Windows (fix #934)
Browse files Browse the repository at this point in the history
This is based on this commit:

  cosmo0920/win32-api@ceb47f0eb48e

It should fix the issue where we were only building i386-specific gems
for Windows.
  • Loading branch information
rf- committed May 3, 2014
1 parent c710ec3 commit 0ee65ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ namespace :jruby do
end


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

Gem::PackageTask.new(spec) do |pkg|
Expand Down

0 comments on commit 0ee65ee

Please sign in to comment.