summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 8046ed2..97273a5 100644
--- a/Rakefile
+++ b/Rakefile
@@ -245,7 +245,7 @@ if defined?(Gem) and defined?(Rake::GemPackageTask) and defined?(Rake::Extension
ext.config_script = 'extconf_parser.rb'
ext.gem_spec = spec_ext
ext.cross_compile = true
- ext.cross_platform = 'i386-mswin32'
+ ext.cross_platform = %w[i386-mswin32 and i386-mingw32]
ext.ext_dir = 'ext/json/ext'
ext.lib_dir = 'lib/json/ext'
end
@@ -255,7 +255,7 @@ if defined?(Gem) and defined?(Rake::GemPackageTask) and defined?(Rake::Extension
ext.config_script = 'extconf_generator.rb'
ext.gem_spec = spec_ext
ext.cross_compile = true
- ext.cross_platform = 'i386-mswin32'
+ ext.cross_platform = %w[i386-mswin32 and i386-mingw32]
ext.ext_dir = 'ext/json/ext'
ext.lib_dir = 'lib/json/ext'
end