This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
-e is better than -f (in case of symbolic links)
[perl5.git] / ext / ODBM_File / hints / linux.pl
1 # uses GDBM dbm compatibility feature - at least on SuSE 8.0
2 $self->{LIBS} = ['-lgdbm'];
3
4 # Debian/Ubuntu have /usr/lib/libgdbm_compat.so.3* but not this file,
5 # so linking may fail
6 if (-e '/usr/lib/libgdbm_compat.so') {
7     $self->{LIBS}->[0] .= ' -lgdbm_compat';
8 }