projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c4b0127
)
-e is better than -f (in case of symbolic links)
Rafael Garcia-Suarez [Thu, 15 Nov 2007 07:18:02 +0000 (07:18 +0000)]
p4raw-id: //depot/perl@32322
ext/ODBM_File/hints/linux.pl
patch
|
blob
|
blame
|
history
diff --git
a/ext/ODBM_File/hints/linux.pl
b/ext/ODBM_File/hints/linux.pl
index
43b59df
..
ccccce0
100644
(file)
--- 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';
}