diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-03 07:50:27 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-03 07:50:27 -0800 |
commit | 41a29eb8d878065a51576275708759bb4834c4f8 (patch) | |
tree | 67ab9fedb1f142931cc0a1fba968f1c9da378562 /ext | |
parent | 5e0cd6394edd06d0d2253ad693d48c30f0702135 (diff) | |
download | ffi-yajl-41a29eb8d878065a51576275708759bb4834c4f8.tar.gz |
ensure libyajl2-dev is installed or use vendored
Diffstat (limited to 'ext')
-rw-r--r-- | ext/libyajl2/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb index 25cc1a5..24f24a1 100644 --- a/ext/libyajl2/extconf.rb +++ b/ext/libyajl2/extconf.rb @@ -24,7 +24,7 @@ if !defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby' || RUBY_ENGINE == 'rbx' require 'mkmf' # yajl_complete_parse is only in >= 2.0 - libyajl2_ok = have_library("yajl", "yajl_complete_parse", [ "yajl/yajl_parse.h" ]) + libyajl2_ok = have_library("yajl", "yajl_complete_parse", [ "yajl/yajl_parse.h" ]) && have_func("yajl_complete_parse") else # always install libyajl2 on Jruby # FIXME: get the conditional mkmf stuff to work on Jruby |