summaryrefslogtreecommitdiff
path: root/ext/NDBM_File
diff options
context:
space:
mode:
authorAlexey Tourbin <at@altlinux.ru>2004-05-22 06:22:22 +0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-06-02 08:19:30 +0000
commit5735ebe06ddf67066a60d58a59c15526051d4cc9 (patch)
tree5adedbe69e42497563474b06761bf14e3dcf3b82 /ext/NDBM_File
parent8006bbc377c15cd3d89b49736744acd8c1396f24 (diff)
downloadperl-5735ebe06ddf67066a60d58a59c15526051d4cc9.tar.gz
Re: [PATCH] [perl #29612] ndbm failure in make test
Message-ID: <20040521222222.GJ2030@solemn.turbinal.org> p4raw-id: //depot/perl@22892
Diffstat (limited to 'ext/NDBM_File')
-rw-r--r--ext/NDBM_File/hints/linux.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/NDBM_File/hints/linux.pl b/ext/NDBM_File/hints/linux.pl
index 405afa7464..174f913f12 100644
--- a/ext/NDBM_File/hints/linux.pl
+++ b/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|$)/;