Message-ID: <
20040521222222.GJ2030@solemn.turbinal.org>
p4raw-id: //depot/perl@22892
# (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|$)/;