From ed5ba79525c1c957483b3378f1956b58d55faf27 Mon Sep 17 00:00:00 2001 From: Florian Frank Date: Wed, 18 Nov 2009 03:09:06 +0100 Subject: added support for mingw --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 9964aa8..b1ff0ce 100644 --- a/Rakefile +++ b/Rakefile @@ -245,7 +245,7 @@ if defined?(Gem) and defined?(Rake::GemPackageTask) and defined?(Rake::Extension ext.name = 'parser' 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/parser' ext.lib_dir = 'lib/json/ext' end @@ -254,7 +254,7 @@ if defined?(Gem) and defined?(Rake::GemPackageTask) and defined?(Rake::Extension ext.name = 'generator' 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/generator' ext.lib_dir = 'lib/json/ext' end -- cgit v1.2.1