From: Rafael Garcia-Suarez Date: Thu, 15 Nov 2007 07:18:02 +0000 (+0000) Subject: -e is better than -f (in case of symbolic links) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f6fbbb567ece06280787cefc318ef0b2e5fe31e1;p=p5sagit%2Fp5-mst-13.2.git -e is better than -f (in case of symbolic links) p4raw-id: //depot/perl@32322 --- diff --git a/ext/ODBM_File/hints/linux.pl b/ext/ODBM_File/hints/linux.pl index 43b59df..ccccce0 100644 --- a/ext/ODBM_File/hints/linux.pl +++ b/ext/ODBM_File/hints/linux.pl @@ -3,6 +3,6 @@ $self->{LIBS} = ['-lgdbm']; # Debian/Ubuntu have /usr/lib/libgdbm_compat.so.3* but not this file, # so linking may fail -if (-f '/usr/lib/libgdbm_compat.so') { +if (-e '/usr/lib/libgdbm_compat.so') { $self->{LIBS}->[0] .= ' -lgdbm_compat'; }