summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-13 02:23:16 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-13 02:23:16 +0000
commit61d42ce43847d6cea183d4f40e2921e53606f13f (patch)
tree98a862f5466c34e760371d4530634e628ebe4f2c /makedef.pl
parentce8217e0ee91404d9ead31e9161c90ae176fd05b (diff)
downloadperl-61d42ce43847d6cea183d4f40e2921e53606f13f.tar.gz
New AIX dynaloading code from Jens-Uwe Mager.
Does break binary compatibility. p4raw-id: //depot/perl@10554
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index 56008efb22..300f9e8219 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -163,7 +163,15 @@ EXPORTS
---EOP---
}
elsif ($PLATFORM eq 'aix') {
- print "#!\n";
+ $OSVER = `uname -v`;
+ chop $OSVER;
+ $OSREL = `uname -r`;
+ chop $OSREL;
+ if ($OSVER > 4 || ($OSVER == 4 && $OSREL >= 3)) {
+ print "#! ..\n";
+ } else {
+ print "#!\n";
+ }
}
my %skip;