summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-07-12 13:44:05 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-07-12 13:44:05 +0900
commit52ec7c818098422e3ab87a6de85bc6f81706b238 (patch)
treed2efcae8b38b4b926a2d14dc5c7c0ebcea6ac3ec /Rakefile
parentb1d3b0a3f72b4c9dc40f81dceb9aca93614cd84b (diff)
downloadpsych-52ec7c818098422e3ab87a6de85bc6f81706b238.tar.gz
Added psych binary for fat gem on mingw platform
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 34a0f06..a0b6dbd 100644
--- a/Rakefile
+++ b/Rakefile
@@ -32,6 +32,9 @@ else
ext.lib_dir = File.join(*['lib', ENV['FAT_DIR']].compact)
ext.cross_compile = true
ext.cross_platform = %w[x86-mingw32 x64-mingw32]
+ ext.cross_compiling do |s|
+ s.files.concat ["lib/2.2/psych.so", "lib/2.3/psych.so", "lib/2.4/psych.so"]
+ end
end
end