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:
3201ebb
)
use $ENV{LIB} to search for libs under Visual C compiler
author
Gurusamy Sarathy
<gsar@cpan.org>
Fri, 28 Apr 2000 08:54:52 +0000
(08:54 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Fri, 28 Apr 2000 08:54:52 +0000
(08:54 +0000)
on Windows (from Jochen Wiedmann <joe@ispsoft.de>)
p4raw-id: //depot/perl@5990
lib/ExtUtils/Liblist.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/ExtUtils/Liblist.pm
b/lib/ExtUtils/Liblist.pm
index
6029557
..
640978a
100644
(file)
--- a/
lib/ExtUtils/Liblist.pm
+++ b/
lib/ExtUtils/Liblist.pm
@@
-230,6
+230,10
@@
sub _win32_ext {
# add "$Config{installarchlib}/CORE" to default search path
push @libpath, "$Config{installarchlib}/CORE";
+ if ($VC and exists $ENV{LIB} and $ENV{LIB}) {
+ push @libpath, split /;/, $ENV{LIB};
+ }
+
foreach (Text::ParseWords::quotewords('\s+', 0, $potential_libs)){
$thislib = $_;