-e is better than -f (in case of symbolic links)
[p5sagit/p5-mst-13.2.git] / ext / ODBM_File / hints / linux.pl
CommitLineData
526d96c3 1# uses GDBM dbm compatibility feature - at least on SuSE 8.0
c4b0127e 2$self->{LIBS} = ['-lgdbm'];
3
4# Debian/Ubuntu have /usr/lib/libgdbm_compat.so.3* but not this file,
5# so linking may fail
f6fbbb56 6if (-e '/usr/lib/libgdbm_compat.so') {
c4b0127e 7 $self->{LIBS}->[0] .= ' -lgdbm_compat';
8}