mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-05 02:47:07 +03:00
Check if clock_gettime needs linking of librt
This commit is contained in:
parent
8149823d56
commit
ab60f59ed8
@ -100,6 +100,7 @@ AC_CHECK_FUNCS([\
|
|||||||
])
|
])
|
||||||
|
|
||||||
AC_SEARCH_LIBS([dlopen], [dl dld])
|
AC_SEARCH_LIBS([dlopen], [dl dld])
|
||||||
|
AC_SEARCH_LIBS([clock_gettime], [rt])
|
||||||
|
|
||||||
save_cflags="${CFLAGS}"
|
save_cflags="${CFLAGS}"
|
||||||
CFLAGS="${CFLAGS} -std=c99"
|
CFLAGS="${CFLAGS} -std=c99"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user