diff options
Diffstat (limited to 'ext/dbm')
-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 51b1bfd81b..b9ab4d1048 100644 --- a/ext/dbm/extconf.rb +++ b/ext/dbm/extconf.rb @@ -25,7 +25,7 @@ def db_check(db) $dbm_conf_have_gdbm = true end - if have_func(db_prefix("dbm_open")) || have_library(db, db_prefix("dbm_open")) + if have_library(db, db_prefix("dbm_open")) || have_func(db_prefix("dbm_open")) for hdr in $dbm_conf_headers.fetch(db, ["ndbm.h"]) if have_header(hdr.dup) $CFLAGS += " " + hsearch + "-DDBM_HDR='<"+hdr+">'" |