summaryrefslogtreecommitdiff
path: root/ext/gdbm/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gdbm/extconf.rb')
-rw-r--r--ext/gdbm/extconf.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/gdbm/extconf.rb b/ext/gdbm/extconf.rb
new file mode 100644
index 0000000000..3c36f29f14
--- /dev/null
+++ b/ext/gdbm/extconf.rb
@@ -0,0 +1,7 @@
+require 'mkmf'
+$LDFLAGS = "-L/usr/local/lib"
+have_library("gdbm", "gdbm_open")
+have_header("gdbm.h")
+if have_func("gdbm_open")
+ create_makefile("gdbm")
+end