summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-12 19:06:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-12 19:06:14 (GMT)
commited08b363524958abf0fe28f85e032e86eb2eb0e6 (patch)
tree2f8911905b74774b1591aa7ceca08874d8dadb56 /unix
parentfcdb9b937d46cb127318a77be883fb3f6844d643 (diff)
parentc26dc231a7444dec93a9c2c66c9808d993a84675 (diff)
downloadtcl-ed08b363524958abf0fe28f85e032e86eb2eb0e6.zip
tcl-ed08b363524958abf0fe28f85e032e86eb2eb0e6.tar.gz
tcl-ed08b363524958abf0fe28f85e032e86eb2eb0e6.tar.bz2
Merge 8.6
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure4
-rw-r--r--unix/tcl.m44
2 files changed, 4 insertions, 4 deletions
diff --git a/unix/configure b/unix/configure
index 4a6ee81..452d5da 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6761,11 +6761,11 @@ printf "%s\n" "#define _OE_SOCKETS 1" >>confdefs.h
if test "$SHARED_BUILD" = 1
then :
- SHLIB_LD='ld -shared -expect_unresolved "*"'
+ SHLIB_LD='${CC} -shared'
else $as_nop
- SHLIB_LD='ld -non_shared -expect_unresolved "*"'
+ SHLIB_LD='${CC} -non_shared'
fi
SHLIB_SUFFIX=".so"
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index a5a4884..dfbb9be 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1515,9 +1515,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
# Digital OSF/1
SHLIB_CFLAGS=""
AS_IF([test "$SHARED_BUILD" = 1], [
- SHLIB_LD='ld -shared -expect_unresolved "*"'
+ SHLIB_LD='${CC} -shared'
], [
- SHLIB_LD='ld -non_shared -expect_unresolved "*"'
+ SHLIB_LD='${CC} -non_shared'
])
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"