summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorRyan Fitzgerald <rwfitzge@gmail.com>2014-05-02 22:43:57 -0700
committerRyan Fitzgerald <rwfitzge@gmail.com>2014-05-02 22:43:57 -0700
commit0ee65eee4e1b452c841a9a94d7c3d6d98a4ebfd6 (patch)
tree05dcf85012227d3505492e67e0afde5eebe04e14 /Rakefile
parentc710ec3661e1a9a843d5320b0daedf6f273b97b5 (diff)
downloadpry-0ee65eee4e1b452c841a9a94d7c3d6d98a4ebfd6.tar.gz
Set architecture to "universal" for Windows (fix #934)universal-architecture
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.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 64df6082..3b0c6fbc 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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|