From 93121600bba1d790ccf4d313750cd86ebd760391 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Wed, 27 Jun 2001 11:55:06 +0000 Subject: In some Linux distributions the libndbm is broken (no null key support), therefore link with libgdbm (if available), since it has a working ndbm emulation, from Jonathan Stowe. p4raw-id: //depot/perl@10984 --- ext/NDBM_File/hints/linux.pl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ext/NDBM_File/hints/linux.pl (limited to 'ext/NDBM_File') diff --git a/ext/NDBM_File/hints/linux.pl b/ext/NDBM_File/hints/linux.pl new file mode 100644 index 0000000000..47f9d2c39a --- /dev/null +++ b/ext/NDBM_File/hints/linux.pl @@ -0,0 +1,6 @@ +# Some distributions have both gdbm and ndbm +# Prefer gdbm to avoid the broken ndbm in some distributions +# (no null key support) +# Jonathan Stowe +use Config; +$self->{LIBS} = ['-lgdbm'] if $Config{libs} =~ /\b-lgdbm\b/; -- cgit v1.2.1