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>.
This commit is contained in:
wtc%netscape.com 2003-08-27 23:41:12 +00:00
parent 92d5318885
commit 7aa1120b36
2 changed files with 2 additions and 2 deletions

2
nsprpub/configure vendored
View File

@ -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

View File

@ -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*)