diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-01 19:42:06 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-01 19:42:06 +0000 |
commit | 621ba9941bc6ba1d0f5f939ab961988d2e3f2195 (patch) | |
tree | 4271b77d3993a5974d517c4937b227391fe3c011 /lib | |
parent | e5a95ffba7bb8798f8211d43c45c423a80fd0fa5 (diff) | |
download | perl-621ba9941bc6ba1d0f5f939ab961988d2e3f2195.tar.gz |
[win32] fix Liblist.pm to tolerate backslashen in paths
p4raw-id: //depot/win32/perl@1070
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExtUtils/Liblist.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm index ccdffb8eea..5388641f3a 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 |