From: Jarkko Hietaniemi Date: Sun, 25 Nov 2001 19:57:54 +0000 (+0000) Subject: $MM? X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=56c2fb364782c381694c47446c911e2323c4f7f0;p=p5sagit%2Fp5-mst-13.2.git $MM? p4raw-id: //depot/perl@13270 --- diff --git a/lib/ExtUtils/Embed.pm b/lib/ExtUtils/Embed.pm index 0847182..8643d98 100644 --- a/lib/ExtUtils/Embed.pm +++ b/lib/ExtUtils/Embed.pm @@ -177,13 +177,13 @@ sub ldopts { foreach $mod (@mods) { @ns = split(/::|\/|\\/, $mod); $sub = $ns[-1]; - $root = $MM->catdir(@ns); + $root = File::Spec->catdir(@ns); print STDERR "searching for '$sub${lib_ext}'\n" if $Verbose; foreach (@path) { - next unless -e ($archive = $MM->catdir($_,"auto",$root,"$sub$lib_ext")); + next unless -e ($archive = File::Spec->catdir($_,"auto",$root,"$sub$lib_ext")); push @archives, $archive; - if(-e ($extra = $MM->catdir($_,"auto",$root,"extralibs.ld"))) { + if(-e ($extra = File::Spec->catdir($_,"auto",$root,"extralibs.ld"))) { local(*FH); if(open(FH, $extra)) { my($libs) = ; chomp $libs;