From 09bf9bc63f9ba75fa56811474a18049ed8296e87 Mon Sep 17 00:00:00 2001 From: hobbs Date: Fri, 26 Apr 2002 19:32:54 +0000 Subject: * unix/configure: * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so that the .sl knows its dependent libs. --- ChangeLog | 6 ++++++ unix/configure | 4 ++-- unix/tcl.m4 | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e8d61c0..ca05242 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-04-26 Jeff Hobbs + + * unix/configure: + * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so + that the .sl knows its dependent libs. + 2002-04-24 Daniel Steffen * mac/tkMacTclCode.r: diff --git a/unix/configure b/unix/configure index 970d1bc..e913685 100755 --- a/unix/configure +++ b/unix/configure @@ -2118,7 +2118,7 @@ fi if test "$tcl_ok" = yes; then SHLIB_CFLAGS="+z" SHLIB_LD="ld -b" - SHLIB_LD_LIBS="" + SHLIB_LD_LIBS='${LIBS}' DL_OBJS="tclLoadShl.o" DL_LIBS="-ldld" LDFLAGS="-Wl,-E" @@ -2488,7 +2488,7 @@ fi DL_OBJS="tclLoadDl.o" DL_LIBS="" LDFLAGS="-export-dynamic" - LD_SEARCH_FLAGS="" + LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' if test "${TCL_THREADS}" = "1" ; then EXTRA_CFLAGS="-pthread" LDFLAGS="$LDFLAGS -pthread" diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 13234da..e1d619a 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -799,7 +799,7 @@ dnl AC_CHECK_TOOL(AR, ar, :) if test "$tcl_ok" = yes; then SHLIB_CFLAGS="+z" SHLIB_LD="ld -b" - SHLIB_LD_LIBS="" + SHLIB_LD_LIBS='${LIBS}' DL_OBJS="tclLoadShl.o" DL_LIBS="-ldld" LDFLAGS="-Wl,-E" @@ -1019,7 +1019,7 @@ dnl AC_CHECK_TOOL(AR, ar, :) DL_OBJS="tclLoadDl.o" DL_LIBS="" LDFLAGS="-export-dynamic" - LD_SEARCH_FLAGS="" + LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' if test "${TCL_THREADS}" = "1" ; then EXTRA_CFLAGS="-pthread" LDFLAGS="$LDFLAGS -pthread" -- cgit v0.12