diff options
author | Eric Wong <e@80x24.org> | 2018-07-02 02:33:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2018-07-02 06:08:07 +0000 |
commit | 50c83d99b7875c45fa72967eaf636f74db931665 (patch) | |
tree | f938e645e7e6058eca4e5bf7d6122d70520e76a6 /ext/mwrap/extconf.rb | |
parent | c0a29c0f7c829737782c18a0349b8655b3c0388d (diff) | |
download | mwrap-50c83d99b7875c45fa72967eaf636f74db931665.tar.gz |
Diffstat (limited to 'ext/mwrap/extconf.rb')
-rw-r--r-- | ext/mwrap/extconf.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/mwrap/extconf.rb b/ext/mwrap/extconf.rb index dbffd99..4ac8881 100644 --- a/ext/mwrap/extconf.rb +++ b/ext/mwrap/extconf.rb @@ -4,10 +4,10 @@ require 'mkmf' have_func 'mempcpy' -if RUBY_PLATFORM =~ /linux/ # should detect glibc - if File.read("/proc/#$$/maps") =~ /\blibjemalloc\./ - $defs << '-DRUBY_USES_JEMALLOC' - end -end +have_library 'urcu-cds' or abort 'userspace RCU not installed' +have_header 'urcu/rculfhash.h' or abort 'rculfhash.h not found' +have_library 'urcu-bp' or abort 'liburcu-bp not found' have_library 'dl' +have_library 'c' +have_library 'execinfo' # FreeBSD create_makefile 'mwrap' |