summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang0222%aol.com <devnull@localhost>2004-01-27 23:06:34 +0000
committerwchang0222%aol.com <devnull@localhost>2004-01-27 23:06:34 +0000
commit4530a6dd13c0918c021631dfa36be6a8e8fdd8d9 (patch)
treea1f8bf84518478e46e85bc03cadbeea8ef97e84d
parent6ef982d42d0c9a1d713257119806e5b4ec47409a (diff)
downloadnspr-hg-4530a6dd13c0918c021631dfa36be6a8e8fdd8d9.tar.gz
Bugzilla bug 232226: use the -bnortllib linker flag when building AIX
shared libraries so that they do not include a reference to the run time linker library - only the main program needs to have a reference to the run-time linker library. The patch is contributed by Philip K. Warren <pkw@us.ibm.com>. r=wtc. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 6cd04781..26638c6c 100755
--- a/configure
+++ b/configure
@@ -2823,7 +2823,7 @@ EOF
#define SYSV 1
EOF
- DSO_LDOPTS='-brtl -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib'
+ DSO_LDOPTS='-brtl -bnortllib -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib'
ac_safe=`echo "sys/atomic_op.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for sys/atomic_op.h""... $ac_c" 1>&6
echo "configure:2830: checking for sys/atomic_op.h" >&5
diff --git a/configure.in b/configure.in
index f4a60c58..fa822579 100644
--- a/configure.in
+++ b/configure.in
@@ -697,7 +697,7 @@ case "$target" in
AC_DEFINE(XP_UNIX)
AC_DEFINE(AIX)
AC_DEFINE(SYSV)
- DSO_LDOPTS='-brtl -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib'
+ DSO_LDOPTS='-brtl -bnortllib -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib'
AC_CHECK_HEADER(sys/atomic_op.h, AC_DEFINE(AIX_HAVE_ATOMIC_OP_H))
case "${target_os}" in
aix3.2*)