From 0a7026859d3375cd02acc21c0d0f03732040dda6 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Sat, 12 Feb 2022 18:49:45 +0000 Subject: Fix [1720242] (appears the patch was only partially applied) --- unix/configure | 4 ++-- unix/tcl.m4 | 4 ++-- 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" -- cgit v0.12