1# Some distributions have both gdbm and ndbm
2# Prefer gdbm to avoid the broken ndbm in some distributions
3# (no null key support)
4# Jonathan Stowe <gellyfish@gellyfish.com>
5use Config;
6use ExtUtils::Liblist;
7($self->{LIBS}) = ExtUtils::Liblist->ext('-lgdbm -lgdbm_compat')
8	if $Config{libs} =~ /(?:^|\s)-lgdbm(?:\s|$)/;
9