mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-25 20:04:02 +00:00
Only get -lrt when needed, from Pietro Cerutti.
This commit is contained in:
parent
e5cee89727
commit
25eb48aea3
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ AM_CONDITIONAL(IS_GLIBC, test "x$found_glibc" = xyes)
|
|||
AC_MSG_RESULT($found_glibc)
|
||||
|
||||
# Look for clock_gettime. Must come before event_init.
|
||||
AC_CHECK_LIB(rt, clock_gettime)
|
||||
AC_SEARCH_LIBS(clock_gettime, rt)
|
||||
|
||||
# Look for libevent.
|
||||
AC_SEARCH_LIBS(event_init, [event event-1.4 event2], found_libevent=yes, found_libevent=no)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue