[win32] fix Liblist.pm to tolerate backslashen in paths
Gurusamy Sarathy [Mon, 1 Jun 1998 19:42:06 +0000 (19:42 +0000)]
p4raw-id: //depot/win32/perl@1070

lib/ExtUtils/Liblist.pm

index ccdffb8..5388641 100644 (file)
@@ -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