aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/configure
diff options
context:
space:
mode:
Diffstat (limited to 'boehm-gc/configure')
-rwxr-xr-xboehm-gc/configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/boehm-gc/configure b/boehm-gc/configure
index 78877e50cbc..4f7490cbcc7 100755
--- a/boehm-gc/configure
+++ b/boehm-gc/configure
@@ -14910,7 +14910,9 @@ $as_echo "#define GC_SOLARIS_PTHREADS 1" >>confdefs.h
# 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*)