X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FExtUtils%2FLiblist.pm;h=5388641f3ab4f7227fb7acb76916d3e4ec05bdf2;hb=2366100dd925213202e6fdad2f7c7cb4ed0abba3;hp=ccdffb8eea2c97bfe21c35ee47c5a25003a47698;hpb=ecc90c0efc8c36b4da62ae4a40adb6c1a5919fd7;p=p5sagit%2Fp5-mst-13.2.git 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