From b1312db67fbd55ae825e5b8c392c0d100d4a7626 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 2 Mar 2004 00:48:47 +0000 Subject: update HP-11 build libs setup --- unix/tcl.m4 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 6c5c4c1..5e66945 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1009,6 +1009,12 @@ dnl AC_CHECK_TOOL(AR, ar) LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' LD_LIBRARY_PATH_VAR="SHLIB_PATH" fi + if test "$GCC" = "yes" ; then + SHLIB_LD="gcc -shared" + SHLIB_LD_LIBS='${LIBS}' + LD_SEARCH_FLAGS='' + CC_SEARCH_FLAGS='' + fi # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc #EXTRA_CFLAGS="+DAportable" @@ -1022,7 +1028,7 @@ dnl AC_CHECK_TOOL(AR, ar) # 64-bit gcc in use. Fix flags for GNU ld. do64bit_ok=yes SHLIB_LD="gcc -shared" - SHLIB_LD_LIBS="" + SHLIB_LD_LIBS='${LIBS}' LD_SEARCH_FLAGS='' CC_SEARCH_FLAGS='' ;; -- cgit v0.12