Fix Solaris thread build settings for non-gcc compilers.

This commit is contained in:
Bruce Momjian 2004-01-08 04:24:24 +00:00
parent 4f913efe73
commit 77f140008b

View File

@ -11,8 +11,9 @@ esac
THREAD_SUPPORT=yes
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
if test "$GCC" != yes
then THREAD_CPPFLAGS="-mt"
if test "$GCC" = yes
then THREAD_LIBS="-pthread"
else THREAD_CPPFLAGS="-mt"
THREAD_LIBS="-lpthread"
fi
THREAD_LIBS="-pthread"