diff options
-rw-r--r-- | ext/NDBM_File/hints/linux.pl | 4 |
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|$)/; |