diff options
author | Douglas Lankshear <doug@lankshear.net> | 1998-02-23 23:57:07 -0800 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-02-25 19:08:06 +0000 |
commit | f7a92b15d369b78479721e50e5aad6f6d7b1862c (patch) | |
tree | 19a77d7668e88c942a8b7ac31f2439119d854fee /installperl | |
parent | 611e57134ef8720264c53f5e0589f41461af4dcb (diff) | |
download | perl-f7a92b15d369b78479721e50e5aad6f6d7b1862c.tar.gz |
[asperl] added AS patch#7
Message-Id: <01BD40F9.CE57B210.dougl@ActiveState.com>
Subject: [PATCH]
Here's an attempt at
6. MANIFEST must be updated with new file names
5. Mktime(), Stat() etc., rather than MKtime()/STat() etc.
And some changes to move toward
1. Merge PERL_OBJECT build support into regular Makefile and makefile.mk
-- Doug
p4raw-id: //depot/asperl@586
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/installperl b/installperl index 6197e92b1d..222f3d4761 100755 --- a/installperl +++ b/installperl @@ -94,13 +94,16 @@ if ($d_dosuid && $>) { die "You must run as root to install suidperl\n"; } if ($^O eq 'MSWin32') { --f 'perl.' . $dlext || die "No perl DLL built\n"; +$perldll = 'perl.' . $dlext; +$perldll = 'perlcore.' . $dlext if $Config{'ccflags'} =~ /PERL_OBJECT/i; + +-f $perldll || die "No perl DLL built\n"; # Install the DLL -safe_unlink("$installbin/perl.$dlext"); -copy("perl.$dlext", "$installbin/perl.$dlext"); -chmod(0755, "$installbin/perl.$dlext"); +safe_unlink("$installbin/$perldll"); +copy("$perldll", "$installbin/$perldll"); +chmod(0755, "$installbin/$perldll"); } # First we install the version-numbered executables. |