From: Gurusamy Sarathy Date: Mon, 1 Jun 1998 19:42:06 +0000 (+0000) Subject: [win32] fix Liblist.pm to tolerate backslashen in paths X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=621ba9941bc6ba1d0f5f939ab961988d2e3f2195;p=p5sagit%2Fp5-mst-13.2.git [win32] fix Liblist.pm to tolerate backslashen in paths p4raw-id: //depot/win32/perl@1070 --- diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm index ccdffb8..5388641 100644 --- a/lib/ExtUtils/Liblist.pm +++ b/lib/ExtUtils/Liblist.pm @@ -206,6 +206,10 @@ sub _win32_ext { } warn "Potential libraries are '$potential_libs':\n" if $verbose; + # normalize to forward slashes + $libpth =~ s,\\,/,g; + $potential_libs =~ s,\\,/,g; + # compute $extralibs from $potential_libs my(@searchpath); # from "-L/path" entries in $potential_libs