summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>2000-10-23 13:29:03 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-24 13:30:53 +0000
commit3f73c567164db9605beed3eab753334d048d0906 (patch)
tree07244aaf9736b03e3ae2de15de6a2f2ef99b1a39 /lib
parent8a9d288879e9aa92a886289d96f6c8cdeffd88c7 (diff)
downloadperl-3f73c567164db9605beed3eab753334d048d0906.tar.gz
static linking with uninstalled perl
Message-ID: <20001023172903.A18749@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@7420
Diffstat (limited to 'lib')
-rw-r--r--lib/ExtUtils/MM_Unix.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm
index 52862c598e..27839652fd 100644
--- a/lib/ExtUtils/MM_Unix.pm
+++ b/lib/ExtUtils/MM_Unix.pm
@@ -2455,6 +2455,7 @@ MAP_PRELIBS = $Config::Config{perllibs} $Config::Config{cryptlib}
}
unless ($libperl && -f $lperl) { # Ilya's code...
my $dir = $self->{PERL_SRC} || "$self->{PERL_ARCHLIB}/CORE";
+ $dir = "$self->{PERL_ARCHLIB}/.." if $self->{UNINSTALLED_PERL};
$libperl ||= "libperl$self->{LIB_EXT}";
$libperl = "$dir/$libperl";
$lperl ||= "libperl$self->{LIB_EXT}";