diff options
author | Florian Frank <flori@ping.de> | 2009-11-18 03:09:06 +0100 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2009-11-18 03:09:06 +0100 |
commit | ed5ba79525c1c957483b3378f1956b58d55faf27 (patch) | |
tree | fb1930bf5fd2f88fb06cd37d83fc4a6d330e1b6f | |
parent | 35368ebef6f787be793d79d278b8ce44d3889ebb (diff) | |
download | json-ed5ba79525c1c957483b3378f1956b58d55faf27.tar.gz |
added support for mingw
-rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |