summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-03-02 00:48:47 (GMT)
committerhobbs <hobbs>2004-03-02 00:48:47 (GMT)
commita642389e0fbb2aa3db63fc4c7350e493741eb4ff (patch)
tree39b408959b86959e5af07d65fc7195e2983f9a4f /unix
parent05518be2b3dcac28842d6e49fc9c4526d53db29c (diff)
downloadtk-a642389e0fbb2aa3db63fc4c7350e493741eb4ff.zip
tk-a642389e0fbb2aa3db63fc4c7350e493741eb4ff.tar.gz
tk-a642389e0fbb2aa3db63fc4c7350e493741eb4ff.tar.bz2
update HP-11 build libs setup
Diffstat (limited to 'unix')
-rw-r--r--unix/tcl.m48
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=''
;;