mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Check if clock_gettime needs linking of librt
This commit is contained in:

committed by
Benny Baumann

parent
8149823d56
commit
ab60f59ed8
@ -100,6 +100,7 @@ AC_CHECK_FUNCS([\
|
||||
])
|
||||
|
||||
AC_SEARCH_LIBS([dlopen], [dl dld])
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt])
|
||||
|
||||
save_cflags="${CFLAGS}"
|
||||
CFLAGS="${CFLAGS} -std=c99"
|
||||
|
Reference in New Issue
Block a user