summaryrefslogtreecommitdiff
path: root/ext/NDBM_File/hints/linux.pl
blob: 405afa7464416722c9b5169adb622407f4db9806 (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} =~ /(?:^|\s)-lgdbm(?:\s|$)/;