diff options
author | hobbs <hobbs@noemail.net> | 2004-03-02 00:48:47 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2004-03-02 00:48:47 (GMT) |
commit | 14c53b05672073ab61736b625c1fa5c4fb696120 (patch) | |
tree | 39b408959b86959e5af07d65fc7195e2983f9a4f | |
parent | 90a54356dd7c444396519e2f396ac40a1d6cb6f7 (diff) | |
download | tk-14c53b05672073ab61736b625c1fa5c4fb696120.zip tk-14c53b05672073ab61736b625c1fa5c4fb696120.tar.gz tk-14c53b05672073ab61736b625c1fa5c4fb696120.tar.bz2 |
update HP-11 build libs setup
FossilOrigin-Name: f55610acc55b148f835a236d46812ef10b084a77
-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='' ;; |