This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5a95ff
)
[win32] fix Liblist.pm to tolerate backslashen in paths
author
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 1 Jun 1998 19:42:06 +0000
(19:42 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 1 Jun 1998 19:42:06 +0000
(19:42 +0000)
p4raw-id: //depot/win32/perl@1070
lib/ExtUtils/Liblist.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/ExtUtils/Liblist.pm
b/lib/ExtUtils/Liblist.pm
index
ccdffb8
..
5388641
100644
(file)
--- 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