Commit | Line | Data |
---|---|---|
93121600 | 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> | |
5 | use Config; | |
5735ebe0 | 6 | use ExtUtils::Liblist; |
7 | ($self->{LIBS}) = ExtUtils::Liblist->ext('-lgdbm -lgdbm_compat') | |
8 | if $Config{libs} =~ /(?:^|\s)-lgdbm(?:\s|$)/; |