summaryrefslogtreecommitdiff
path: root/hints/aix.sh
diff options
context:
space:
mode:
authorMike W Ellwood <mwe@rl.ac.uk>1999-07-22 15:28:19 +0100
committerJarkko Hietaniemi <jhi@iki.fi>1999-07-22 20:51:17 +0000
commit5f9d9a172723844585bda023d4f5b1e3ee810733 (patch)
tree3dcb70f2058c22c3bd43589ffb6548cd8d49aedd /hints/aix.sh
parent4bb3e0dae4817231fcd8bf395a07bad05dd0602b (diff)
downloadperl-5f9d9a172723844585bda023d4f5b1e3ee810733.tar.gz
AIX magic: ccdlflags needs to be different for
Perl itself and for extra-core extensions (as used by ExtUtilss::embed::ldopts). Based on the problems described in To: perl5-porters@perl.org Subject: [ID 19990722.002] Perl 5.00503 and AIX 4.1.5; perl.exp; build errors. Also Imagemagick... Reply-To: m.w.ellwood@rl.ac.uk Message-Id: <Pine.A41.3.96.990722141209.72660V-100000@unixfe.rl.ac.uk> p4raw-id: //depot/cfgperl@3720
Diffstat (limited to 'hints/aix.sh')
-rw-r--r--hints/aix.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index b6978dcc8c..0f255a73f6 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -95,9 +95,10 @@ d_setreuid='undef'
#
# Tell perl which symbols to export for dynamic linking.
case "$cc" in
-*gcc*) ccdlflags='-Xlinker -bE:perl.exp' ;;
-*) ccdlflags='-bE:perl.exp' ;;
+*gcc*) ccdlflags='-Xlinker' ;;
esac
+# the required -bE:$installarchlib/CORE/perl.exp is added by
+# libperl.U (Configure) later.
# The first 3 options would not be needed if dynamic libs. could be linked
# with the compiler instead of ld.