+2002-11-12 Tom Yu <tlyu@mit.edu>
+
+ * aclocal.m4 (tcl_lib): Add RPATH_TAIL to TCL_RPATH to handle AIX
+ weirdness with "-blibpath:".
+
2002-11-04 Tom Yu <tlyu@mit.edu>
* aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Set TCL_MAYBE_RPATH.
TCL_LIBPATH="-L$TCL_EXEC_PREFIX/lib"
TCL_RPATH=":$TCL_EXEC_PREFIX/lib"
if test "$DEPLIBEXT" != "$SHLIBEXT" && test -n "$RPATH_FLAG"; then
- TCL_MAYBE_RPATH='$(RPATH_FLAG)'"$TCL_EXEC_PREFIX/lib"
+ TCL_MAYBE_RPATH='$(RPATH_FLAG)'"$TCL_EXEC_PREFIX/lib$RPATH_TAIL"
else
TCL_MAYBE_RPATH=
fi
+2002-11-12 Tom Yu <tlyu@mit.edu>
+
+ * shlib.conf: Fix AIX to explicitly include system libraries in
+ "-blibpath:" by adding a variable RPATH_TAIL. Fix typo in non-gcc
+ case.
+
2002-11-08 Ken Raeburn <raeburn@mit.edu>
* pre.in (.et.h, .et.c): Drop "set -x".
if test "$krb5_cv_prog_gcc" = "yes" ; then
RPATH_FLAG='-Wl,-blibpath:'
else
- RPATH_FLAG=-bilbpath:
+ RPATH_FLAG=-blibpath:
fi
- CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(RPATH_FLAG)$(PROG_RPATH):/usr/lib:/lib $(LDFLAGS)'
+ RPATH_TAIL=:/usr/lib:/lib
+ CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(RPATH_FLAG)$(PROG_RPATH):'"$RPATH_TAIL"'$(LDFLAGS)'
CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(LDFLAGS)'
# $(PROG_RPATH) is here to handle things like a shared tcl library
RUN_ENV='LIBPATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`:$(PROG_RPATH):/usr/lib:/usr/local/lib; export LIBPATH; '