diff options
author | hobbs <hobbs> | 2004-03-02 00:41:51 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-03-02 00:41:51 (GMT) |
commit | 1b3cdd9ffdb36d92789700c4ebfea3dd2af15613 (patch) | |
tree | c58e6ae0967e424c42c7c7cccac1c86726838368 /unix/tcl.m4 | |
parent | 2687f96dae8cbc156462a9ce7fae8e319c258d0a (diff) | |
download | tcl-1b3cdd9ffdb36d92789700c4ebfea3dd2af15613.zip tcl-1b3cdd9ffdb36d92789700c4ebfea3dd2af15613.tar.gz tcl-1b3cdd9ffdb36d92789700c4ebfea3dd2af15613.tar.bz2 |
update HP-11 build libs setup
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 8 |
1 files changed, 7 insertions, 1 deletions
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='' ;; |