diff options
Diffstat (limited to 'boehm-gc/configure.ac')
-rw-r--r-- | boehm-gc/configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boehm-gc/configure.ac b/boehm-gc/configure.ac index 43be0b4866d..42cd4190df9 100644 --- a/boehm-gc/configure.ac +++ b/boehm-gc/configure.ac @@ -193,7 +193,9 @@ case "$THREADS" in # 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]) |