From cf4d324d02b321977ec9da1a706a922bc9fee0a0 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 30 Dec 2003 23:13:51 +0000 Subject: [PATCH] Add "-mt" link flag for Solaris non-gcc compiles when using threads --- required. --- src/template/solaris | 4 ++++ 1 file changed, 4 insertions(+) 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 +