Merge pull request #8553 from kareem-wolfssl/zd19458

Check for whether librt is needed for clock_gettime.
This commit is contained in:
Daniel Pouzzner
2025-03-26 12:44:24 -05:00
committed by GitHub

View File

@ -6404,6 +6404,11 @@ then
done done
fi fi
if (test "$ENABLED_RNG" = "yes" && test "$ENABLED_ENTROPY_MEMUSE" != "no") || test "$ENABLED_BENCHMARK" = "yes"
then
AC_SEARCH_LIBS([clock_gettime],[rt])
fi
# Filesystem Build # Filesystem Build
if test "$ENABLED_LINUXKM" = "yes" if test "$ENABLED_LINUXKM" = "yes"