diff options
Diffstat (limited to 'ext/gdbm/extconf.rb')
-rw-r--r-- | ext/gdbm/extconf.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/gdbm/extconf.rb b/ext/gdbm/extconf.rb index 3c36f29f14..bb51ac8971 100644 --- a/ext/gdbm/extconf.rb +++ b/ext/gdbm/extconf.rb @@ -1,7 +1,7 @@ require 'mkmf' $LDFLAGS = "-L/usr/local/lib" -have_library("gdbm", "gdbm_open") -have_header("gdbm.h") -if have_func("gdbm_open") +if have_library("gdbm", "gdbm_open") and + have_header("gdbm.h") and + have_func("gdbm_open") then create_makefile("gdbm") end |