diff options
author | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-06-11 12:00:00 +1200 |
---|---|---|
committer | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-06-11 12:00:00 +1200 |
commit | 1553ab042847244da5856825de22281fd831878d (patch) | |
tree | d65be104a22e8e3a89a3fbde5aa9d88078c0fa3d /Makefile.SH | |
parent | 137153360e77d819f1f8e8f21d3fdc5e16babede (diff) | |
download | perl-1553ab042847244da5856825de22281fd831878d.tar.gz |
perl5.004 on AIX: Patches
(this is the same change as commit a9581ec21a2686ca09657757555fcd66435bb205, but as applied)
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-x | Makefile.SH | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH index ec99d02e5c..70876e1e74 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -41,7 +41,14 @@ true) ;; aix*) shrpldflags="-H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp" - shrpldflags="$shrpldflags -b noentry $ldflags $libs $cryptlib" + case "$osvers" in + 3*) + shrpldflags="$shrpldflags -e _nostart $ldflags $libs $cryptlib" + ;; + *) + shrpldflags="$shrpldflags -b noentry $ldflags $libs $cryptlib" + ;; + esac aixinstdir=`pwd | sed 's/\/UU$//'` linklibperl="-L $archlibexp/CORE -L $aixinstdir -lperl" ;; |