summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorTim Bunce <Tim.Bunce@ig.co.uk>1997-06-11 12:00:00 +1200
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-06-11 12:00:00 +1200
commit1553ab042847244da5856825de22281fd831878d (patch)
treed65be104a22e8e3a89a3fbde5aa9d88078c0fa3d /Makefile.SH
parent137153360e77d819f1f8e8f21d3fdc5e16babede (diff)
downloadperl-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-xMakefile.SH9
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"
;;