summaryrefslogtreecommitdiff
path: root/perl_exp.SH
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-09-30 15:11:07 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-09-30 15:11:07 +0000
commit8206a063cdc1c193b12df1a45cb3a0ee430b5077 (patch)
tree45fb29ee11703ddeadeb8fa6d9673bc12d51394b /perl_exp.SH
parent2ddcc7aa6c936ba8e7a9703319dfd8959bb54574 (diff)
parent3e3baf6d63945cb64e829d6e5c70a7d00f3d3d03 (diff)
downloadperl-8206a063cdc1c193b12df1a45cb3a0ee430b5077.tar.gz
Merge maint-5.004 branch (5.004_01) with mainline.
p4raw-id: //depot/perl@84
Diffstat (limited to 'perl_exp.SH')
-rw-r--r--perl_exp.SH15
1 files changed, 12 insertions, 3 deletions
diff --git a/perl_exp.SH b/perl_exp.SH
index ef79876fce..06b587f9ef 100644
--- a/perl_exp.SH
+++ b/perl_exp.SH
@@ -5,9 +5,9 @@
# Create the export list for perl.
# Needed by AIX to do dynamic linking.
#
-# This simple program relys on 'global.sym' being up to date
-# with all of the global symbols that a dynamicly link library
-# might want to access.
+# This simple program relys on 'global.sym' and other *.sym files
+# being up to date with all of the global symbols that a dynamic
+# link library might want to access.
#
# Most symbols have a Perl_ prefix because that's what embed.h sticks
# in front of them. Variations depend on binary compatibility with
@@ -57,6 +57,15 @@ y*)
;;
esac
+#
+# If we use the PerlIO abstraction layer, add its symbols
+#
+
+if [ $useperlio = "define" ]
+then
+ grep '^[A-Za-z]' perlio.sym >> perl.exp
+fi
+
#
# Extra globals not included above (including a few that might
# not actually be defined, but there's no harm in that).