summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/tcl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index d268471..de5657f 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -864,9 +864,9 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
if test "$using_gcc" = "no" ; then
EXTRA_CFLAGS="${EXTRA_CFLAGS} -pthread"
LDFLAGS="-pthread"
- THREADS_LIBS=""
else
- THREADS_LIBS=" -lpthread -lmach -lexc"
+ LIBS=`echo $LIBS | sed s/-lpthreads//`
+ LIBS="$LIBS -lpthread -lmach -lexc"
fi
fi