summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2009-11-18 03:09:06 +0100
committerFlorian Frank <flori@ping.de>2009-11-18 03:09:06 +0100
commited5ba79525c1c957483b3378f1956b58d55faf27 (patch)
treefb1930bf5fd2f88fb06cd37d83fc4a6d330e1b6f
parent35368ebef6f787be793d79d278b8ce44d3889ebb (diff)
downloadjson-ed5ba79525c1c957483b3378f1956b58d55faf27.tar.gz
added support for mingw
-rw-r--r--Rakefile4
1 files 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