summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/ext/NDBM_File
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-08-09 17:48:49 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-08-09 17:48:49 +0000
commit069768bdb70fb3052599d3e70898a0ed0e1c31d2 (patch)
tree1492d59179e2c9b07cb6c6754f78a3ef6e608e68 /gnu/usr.bin/perl/ext/NDBM_File
parentf2ebe24544ebe30f7ed499fda280dce09361f966 (diff)
Import of stock perl 5.8.5
Diffstat (limited to 'gnu/usr.bin/perl/ext/NDBM_File')
-rw-r--r--gnu/usr.bin/perl/ext/NDBM_File/hints/linux.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/ext/NDBM_File/hints/linux.pl b/gnu/usr.bin/perl/ext/NDBM_File/hints/linux.pl
index 405afa74644..174f913f125 100644
--- a/gnu/usr.bin/perl/ext/NDBM_File/hints/linux.pl
+++ b/gnu/usr.bin/perl/ext/NDBM_File/hints/linux.pl
@@ -3,4 +3,6 @@
# (no null key support)
# Jonathan Stowe <gellyfish@gellyfish.com>
use Config;
-$self->{LIBS} = ['-lgdbm'] if $Config{libs} =~ /(?:^|\s)-lgdbm(?:\s|$)/;
+use ExtUtils::Liblist;
+($self->{LIBS}) = ExtUtils::Liblist->ext('-lgdbm -lgdbm_compat')
+ if $Config{libs} =~ /(?:^|\s)-lgdbm(?:\s|$)/;