summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2003-08-27 23:41:12 +0000
committerwtc%netscape.com <devnull@localhost>2003-08-27 23:41:12 +0000
commit5107a54a235e3d1ac08c0391f327374829c404c3 (patch)
tree678edeeb8f086a4f9d24538d0c87cff958307858
parent3a69095949adb1c1b3afbb8bffc08c0d3565a267 (diff)
downloadnspr-hg-5107a54a235e3d1ac08c0391f327374829c404c3.tar.gz
Bugzilla bug 217501: specify the standard AIX libpath (/usr/lib:/lib) when
building NSPR libraries, otherwise the path passed to the -L linker flag is added to the head the libpath. The patch is contributed by Philip K. Warren <pkw@us.ibm.com>.
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index be5a0114..7de103f3 100755
--- a/configure
+++ b/configure
@@ -2823,7 +2823,7 @@ EOF
#define SYSV 1
EOF
- DSO_LDOPTS='-brtl -bM:SRE -bnoentry -bexpall'
+ DSO_LDOPTS='-brtl -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 e84cde5f..af23f40f 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'
+ DSO_LDOPTS='-brtl -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*)