summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 7921c6f..8b6c791 100644
--- a/Rakefile
+++ b/Rakefile
@@ -39,7 +39,9 @@ spec = Gem::Specification.load('ffi-yajl.gemspec')
desc "compile extensions"
task :compile do
sh %Q{ cd ext/libyajl2 && ruby extconf.rb }
- sh %Q{ cd ext/ffi_yajl/ext/encoder && ruby extconf.rb && make && make install }
+ # FIXME: please, please, fix me...
+ sh %Q{ cd ext/ffi_yajl/ext/encoder && ruby extconf.rb && make && cp encoder.* ../../../../lib/ffi_yajl/ext }
+ sh %Q{ rm -f lib/ffi_yajl/ext/encoder.{c,o} }
end
task :default => :spec