diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-10 18:23:25 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-10 18:23:25 -0800 |
commit | 40b3033aa688a2758a0e958a65000e450d474f97 (patch) | |
tree | 56551c3690c9a1fa3864dd91e8085146be7d0341 /ext/tdb/extconf.rb | |
parent | 56378c0fc1704cab0e0e1e6800befaf84e419b43 (diff) | |
download | ruby-tdb-40b3033aa688a2758a0e958a65000e450d474f97.tar.gz |
TDB objects aren't created often, so this shouldn't be noticeable, and there's no other way if any notion of thread-safety is desired.
Diffstat (limited to 'ext/tdb/extconf.rb')
-rw-r--r-- | ext/tdb/extconf.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/tdb/extconf.rb b/ext/tdb/extconf.rb index 5359f7d..f7bb223 100644 --- a/ext/tdb/extconf.rb +++ b/ext/tdb/extconf.rb @@ -9,5 +9,7 @@ have_library('tdb') or abort 'libtdb missing' have_func('tdb_jenkins_hash') have_func('tdb_repack') have_const('TDB_ERR_NESTING', 'tdb.h') +have_header('pthread.h') +have_library('pthread') create_makefile('tdb_ext') |