Hi,
A hunch may have paid off:
Sticking with ExtUtils::MakeMaker-6.50, if you apply this patch to
ExtUtils/Liblist/Kid.pm, I think things will work correctly (but I haven't
checked thoroughly):
--- Liblist\Kid.pm_orig Sat Apr 25 18:28:39 2009
+++ Liblist/Kid.pm Sat Apr 25 18:28:31 2009
@@ -9,7 +9,7 @@
# Broken out of MakeMaker from version 4.11
use strict;
-our $VERSION = 6.50;
+our $VERSION = 6.4801;
use Config;
use Cwd 'cwd';
@@ -81,6 +81,12 @@
next;
}
+ if ($Config_libext && $thislib =~ /\Q$Config_libext\E$/) {
+ push @libs, $thislib unless $libs_seen{$thislib}++;
+ push(@ldloadlibs, $thislib);
+ next;
+ }
+
# Handle possible library arguments.
unless ($thislib =~ s/^-l//){
warn "Unrecognized argument in LIBS ignored: '$thislib'\n";
@@ -266,6 +272,9 @@
if ($VC and exists $ENV{LIB} and $ENV{LIB}) {
push @libpath, split /;/, $ENV{LIB};
}
+ if ($GC and exists $ENV{ACTIVEPERL_MINGW} and $ENV{ACTIVEPERL_MINGW}) {
+ push @libpath, "$ENV{ACTIVEPERL_MINGW}/lib";
+ }
foreach (Text::ParseWords::quotewords('\s+', 0, $potential_libs)){
@@ -308,7 +317,7 @@
if (s/^-l// and $GC and !/^lib/i) {
$_ = "lib$_";
}
- $_ .= $libext if !/\Q$libext\E$/i;
+ $_ .= $libext if !/\Q$libext\E$/i && !/\.lib$/i;
my $secondpass = 0;
LOOKAGAIN:
This reverts Liblist/Kid.pm to version 6.4801 ... hopefully that's all
that's needed ... I think the other files in EU-MM-6.50 are ok. (That's all
I have time for tonight.)
Cheers,
Rob