summaryrefslogtreecommitdiff
path: root/ext/NDBM_File/hints/linux.pl
blob: 47f9d2c39abf8ded1216cf2f01617ea0486b10bd (plain)
1
2
3
4
5
6
# Some distributions have both gdbm and ndbm
# Prefer gdbm to avoid the broken ndbm in some distributions
# (no null key support)
# Jonathan Stowe <gellyfish@gellyfish.com>
use Config;
$self->{LIBS} = ['-lgdbm'] if $Config{libs} =~ /\b-lgdbm\b/;