Message ID | yddr5bt9npx.fsf@manam.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
diff -r e5d3f67cc78f boehm-gc/configure.ac --- a/boehm-gc/configure.ac Sat Jan 08 01:34:09 2011 +0100 +++ b/boehm-gc/configure.ac Sat Jan 08 02:17:03 2011 +0100 @@ -193,7 +193,9 @@ # The alternate thread library was only introduced in Solaris 8 and # became the default in Solaris 9, so no need for the special code # above otherwise. - THREADLIBS=-lpthread + # nanosleep, sched_yield, and sem_* only live in librt before + # Solaris 11. + THREADLIBS="-lpthread -lrt" ;; *-*-irix*) AC_DEFINE(GC_IRIX_THREADS,1,[support for Irix pthreads])