Check if clock_gettime needs linking of librt

This commit is contained in:
Chris Burr 2020-12-12 11:56:47 +01:00 committed by Benny Baumann
parent 8149823d56
commit ab60f59ed8
1 changed files with 1 additions and 0 deletions

View File

@ -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"