summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-12 18:49:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-12 18:49:45 (GMT)
commit0a7026859d3375cd02acc21c0d0f03732040dda6 (patch)
tree132f6ee11c9df7cdef84e204e02c55bb13996872 /unix
parentd80bd759964215327fa921af3dcc3da894d2ecb3 (diff)
downloadtcl-0a7026859d3375cd02acc21c0d0f03732040dda6.zip
tcl-0a7026859d3375cd02acc21c0d0f03732040dda6.tar.gz
tcl-0a7026859d3375cd02acc21c0d0f03732040dda6.tar.bz2
Fix [1720242] (appears the patch was only partially applied)
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 0b5fa29..11d7ca4 100755
--- a/unix/configure
+++ b/unix/configure
@@ -8077,11 +8077,11 @@ fi
SHLIB_CFLAGS=""
if test "$SHARED_BUILD" = 1; then
- SHLIB_LD='ld -shared -expect_unresolved "*"'
+ SHLIB_LD='${CC} -shared'
else
- SHLIB_LD='ld -non_shared -expect_unresolved "*"'
+ SHLIB_LD='${CC} -non_shared'
fi
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 6305ef7..739dce3 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1684,9 +1684,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"