diff options
Diffstat (limited to 'gnu/usr.bin/perl/ext/NDBM_File/hints/linux.pl')
-rw-r--r-- | gnu/usr.bin/perl/ext/NDBM_File/hints/linux.pl | 4 |
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|$)/; |