mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Merge remote-tracking branch 'public/bug5103'
This commit is contained in:
commit
51841709bf
3
changes/bug5103
Normal file
3
changes/bug5103
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor bugfixes (build):
|
||||
- When building with --enable-static-tor on OpenBSD, do not
|
||||
erroneously attempt to link -lrt.
|
@ -280,7 +280,12 @@ AC_SEARCH_LIBS(socket, [socket network])
|
||||
AC_SEARCH_LIBS(gethostbyname, [nsl])
|
||||
AC_SEARCH_LIBS(dlopen, [dl])
|
||||
AC_SEARCH_LIBS(inet_aton, [resolv])
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt], [have_rt=yes])
|
||||
saved_LIBS="$LIBS"
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt])
|
||||
if test "$LIBS" != "$saved_LIBS"; then
|
||||
# Looks like we need -lrt for clock_gettime().
|
||||
have_rt=yes
|
||||
fi
|
||||
|
||||
if test "$enable_threads" = "yes"; then
|
||||
AC_SEARCH_LIBS(pthread_create, [pthread])
|
||||
|
Loading…
Reference in New Issue
Block a user