This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
-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
}