diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2013-12-04 20:54:28 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2013-12-04 20:54:28 -0800 |
commit | 37b3a41a14676593c1e55cfe49cec2a91bf29ce1 (patch) | |
tree | 8ac59c0b696c07a80fd5318ef442b6bfc97ddbdc /Rakefile | |
parent | 0f3294df36513053a65a2b102aab22009014502c (diff) | |
download | ffi-yajl-37b3a41a14676593c1e55cfe49cec2a91bf29ce1.tar.gz |
extconf rage + wine + i feel dirty
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |