summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-04-06 12:22:11 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-04-06 12:24:04 -0700
commit9a536029c699ee501d9278577a300a5ef3d147dd (patch)
tree7e3d63890d70f72a048a64cd6f4e52c9075d99fa /Rakefile
parent10c7da3b6002a59e21c9c8ee202f6f713c3959f9 (diff)
downloadffi-yajl-9a536029c699ee501d9278577a300a5ef3d147dd.tar.gz
add native dlopen extension code
This will get dlopen in a consistent place on all the platforms which need it.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index d8926dc..ae19344 100644
--- a/Rakefile
+++ b/Rakefile
@@ -51,6 +51,13 @@ Rake::ExtensionTask.new do |ext|
ext.gem_spec = spec
end
+Rake::ExtensionTask.new do |ext|
+ ext.name = 'dlopen'
+ ext.lib_dir = 'lib/ffi_yajl/ext'
+ ext.ext_dir = 'ext/ffi_yajl/ext/dlopen'
+ ext.gem_spec = spec
+end
+
#
# test tasks
#