Skip to content

Commit 8b8873f

Browse files
authored
Merge pull request #8553 from kareem-wolfssl/zd19458
Check for whether librt is needed for clock_gettime.
2 parents ddf7d5b + 91239dc commit 8b8873f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configure.ac

+5
Original file line numberDiff line numberDiff line change
@@ -6404,6 +6404,11 @@ then
64046404
done
64056405
fi
64066406
6407+
if (test "$ENABLED_RNG" = "yes" && test "$ENABLED_ENTROPY_MEMUSE" != "no") || test "$ENABLED_BENCHMARK" = "yes"
6408+
then
6409+
AC_SEARCH_LIBS([clock_gettime],[rt])
6410+
fi
6411+
64076412
64086413
# Filesystem Build
64096414
if test "$ENABLED_LINUXKM" = "yes"

0 commit comments

Comments
 (0)