From: Alexey Tourbin Date: Sat, 22 May 2004 02:22:22 +0000 (+0400) Subject: Re: [PATCH] [perl #29612] ndbm failure in make test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5735ebe06ddf67066a60d58a59c15526051d4cc9;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH] [perl #29612] ndbm failure in make test Message-ID: <20040521222222.GJ2030@solemn.turbinal.org> p4raw-id: //depot/perl@22892 --- diff --git a/ext/NDBM_File/hints/linux.pl b/ext/NDBM_File/hints/linux.pl index 405afa7..174f913 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 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|$)/;