From f12c3534eecefa702bffca0354bcdded968dac71 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Wed, 27 Aug 2003 23:41:12 +0000 Subject: [PATCH] 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 . git-svn-id: svn://10.0.0.236/trunk@146401 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/configure | 2 +- mozilla/nsprpub/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/nsprpub/configure b/mozilla/nsprpub/configure index be5a0114ee2..7de103f37ca 100755 --- a/mozilla/nsprpub/configure +++ b/mozilla/nsprpub/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/mozilla/nsprpub/configure.in b/mozilla/nsprpub/configure.in index e84cde5fb12..af23f40f1fc 100644 --- a/mozilla/nsprpub/configure.in +++ b/mozilla/nsprpub/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*)