summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-01-09 13:08:11 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-09 13:08:11 -0800
commit757a40073888636dd3cae1d9d9727c94d646126f (patch)
tree51cca4562d9e947208957fb5dc296b89a2b7f31b
parent7a9cd7bc5cfb21d167afd0a260461ec61b534483 (diff)
downloadffi-yajl-757a40073888636dd3cae1d9d9727c94d646126f.tar.gz
rake compile works on ubuntu/mri now at least
-rw-r--r--Rakefile2
-rw-r--r--ext/libyajl2/extconf.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 1ff753b..122d470 100644
--- a/Rakefile
+++ b/Rakefile
@@ -41,7 +41,7 @@ end
spec = Gem::Specification.load('ffi-yajl.gemspec')
Rake::ExtensionTask.new do |ext|
- ext.name = 'libyajl2'
+ ext.name = 'libyajl'
ext.lib_dir = 'lib'
ext.ext_dir = 'ext/libyajl2'
ext.gem_spec = spec
diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb
index 24f24a1..1698000 100644
--- a/ext/libyajl2/extconf.rb
+++ b/ext/libyajl2/extconf.rb
@@ -53,5 +53,6 @@ end
File.open("Makefile", "w") do |mf|
mf.puts "# Dummy makefile for non-mri rubies"
mf.puts "all install::\n"
+ mf.puts "\tcp -f lloyd-yajl-f4b2b1a/build/yajl-2.0.1/lib/libyajl.so ."
end