I have confirmed that Solaris needs the "-mt" link flag when building
threaded apps using non-gcc compilers, so I am adding it to the template
file for Solaris.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
Index: src/template/solaris
===================================================================
RCS file: /cvsroot/pgsql-server/src/template/solaris,v
retrieving revision 1.9
diff -c -c -r1.9 solaris
*** src/template/solaris        23 Dec 2003 18:40:53 -0000      1.9
--- src/template/solaris        30 Dec 2003 22:31:30 -0000
***************
*** 12,14 ****
--- 12,18 ----
  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
+ 
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to