diff options
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/installperl b/installperl index 5ea37be9a9..f4d850be34 100755 --- a/installperl +++ b/installperl @@ -373,6 +373,8 @@ elsif ($Is_Cygwin) { # On Cygwin symlink it to CORE to make Makefile happy ( copy("$installbin/$libperl", $coredll) && push(@corefiles, $instcoredll) ) +} elsif ($Is_W32) { + @corefiles = <*.h>; } else { # [als] hard-coded 'libperl' name... not good! @corefiles = <*.h libperl*.* perl*$Config{lib_ext}>; @@ -393,6 +395,13 @@ foreach my $file (@corefiles) { } } +if ($Is_W32) { #linking lib isn't made in root but in CORE on Win32 + @corefiles = <lib/CORE/libperl*.* lib/CORE/perl*$Config{lib_ext}>; + my $dest; + copy_if_diff($_,($dest = $installarchlib.substr($_,3))) && + chmod($NON_SO_MODE, $dest) foreach @corefiles; +} + # Install main perl executables # Make links to ordinary names if installbin directory isn't current directory. |