diff --git a/src/template/solaris b/src/template/solaris index 7338878e835..fbb574fe88f 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -12,3 +12,7 @@ esac THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13 THREAD_LIBS="-pthread" +if test "$GCC" != yes +then THREAD_LIBS="-mt $THREAD_LIBS" +fi +