Add "-mt" link flag for Solaris non-gcc compiles when using threads ---

required.
This commit is contained in:
Bruce Momjian 2003-12-30 23:13:51 +00:00
parent 9888192fb7
commit cf4d324d02
1 changed files with 4 additions and 0 deletions

View File

@ -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