From 7aa1120b36ad1f9a91c9a9f4973c3fcf17df587b 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 . --- nsprpub/configure | 2 +- nsprpub/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nsprpub/configure b/nsprpub/configure index be5a0114ee2d..7de103f37cae 100755 --- a/nsprpub/configure +++ b/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/nsprpub/configure.in b/nsprpub/configure.in index e84cde5fb123..af23f40f1fc9 100644 --- a/nsprpub/configure.in +++ b/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*)