Commit ba625d18 authored by Dmitri Shubin's avatar Dmitri Shubin

sched_yield() is in librt on Solaris

parent 54863241
...@@ -48,6 +48,8 @@ AS_IF([test "$external_capnp" != "no"], [ ...@@ -48,6 +48,8 @@ AS_IF([test "$external_capnp" != "no"], [
]) ])
AM_CONDITIONAL([USE_EXTERNAL_CAPNP], [test "$external_capnp" != "no"]) AM_CONDITIONAL([USE_EXTERNAL_CAPNP], [test "$external_capnp" != "no"])
AC_SEARCH_LIBS(sched_yield, rt)
LIBS="$PTHREAD_LIBS $LIBS" LIBS="$PTHREAD_LIBS $LIBS"
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment