diff options
Diffstat (limited to 'ext/ffi_yajl/ext/dlopen/extconf.rb')
-rw-r--r-- | ext/ffi_yajl/ext/dlopen/extconf.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/ffi_yajl/ext/dlopen/extconf.rb b/ext/ffi_yajl/ext/dlopen/extconf.rb new file mode 100644 index 0000000..7e18469 --- /dev/null +++ b/ext/ffi_yajl/ext/dlopen/extconf.rb @@ -0,0 +1,15 @@ +require 'mkmf' +require 'rubygems' + +RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC'] + +puts $CFLAGS +puts $LDFLAGS + +have_header("dlfcn.h") + +have_library("dl", "dlopen") + +dir_config 'dlopen' + +create_makefile 'ffi_yajl/ext/dlopen' |