diff options
author | Reini Urban <rurban@x-ray.at> | 2008-08-24 12:47:23 +0200 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2008-08-24 08:58:40 +0000 |
commit | b5920ff0f6b65443a39b58d7cf4cd21351bedd92 (patch) | |
tree | 0aca057232f7c811f1d427ebc2171527526e2d87 /installperl | |
parent | 56e771c1bc71c994cd5a877d8b2eadd47e254ff8 (diff) | |
download | perl-b5920ff0f6b65443a39b58d7cf4cd21351bedd92.tar.gz |
Re: Fix 34200 on Cygwin
Message-ID: <48B1201B.3080705@x-ray.at>
p4raw-id: //depot/perl@34219
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/installperl b/installperl index c717750c50..b014f80761 100755 --- a/installperl +++ b/installperl @@ -364,7 +364,14 @@ if ($Is_VMS) { # We did core file selection during build $coredir =~ tr/./_/; map { s|^$coredir/||i; } @corefiles = <$coredir/*.*>; } -else { +elsif ($Is_Cygwin) { # On Cygwin symlink it to CORE to make Makefile happy + my $coredll = "$installarchlib/CORE/$libperl"; + ( $Config{'d_link'} eq 'define' && + eval { CORE::link "$installbin/$libperl", $coredll } ) || + eval { symlink "$installbin/$libperl", $coredll } || + copy("$installbin/$libperl", $coredll); + @corefiles = <*.h libperl*.* perl*$Config{lib_ext}>; +} else { # [als] hard-coded 'libperl' name... not good! @corefiles = <*.h libperl*.* perl*$Config{lib_ext}>; |