diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dbm/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbm/extconf.rb b/ext/dbm/extconf.rb index f6263f8f15..ea6a4a9118 100644 --- a/ext/dbm/extconf.rb +++ b/ext/dbm/extconf.rb @@ -182,7 +182,7 @@ def headers.db_check2(db, hdr) # ndbm compatibility layer of gdbm. # So, try to check header/library mismatch. # - if hdr == 'ndbm.h' && db != 'libc' + if hdr == 'ndbm.h' && db != 'libc' && db != 'ndbm' if /\Adb\d?\z/ !~ db && have_db_header return false end |