summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuang Li <yuangli88@hotmail.com>2022-08-31 14:33:59 +0100
committerYuang Li <yuangli88@hotmail.com>2022-08-31 14:33:59 +0100
commitb20f013c129a27a86b5207a2f6ad1d858113f46c (patch)
tree1c0bacee31fffcf08f0c932dbffa331f08a8df10
parent01cb90be1578b2308f7c69be3b34dd44b0dbbe95 (diff)
downloadlibgit2-b20f013c129a27a86b5207a2f6ad1d858113f46c.tar.gz
restore getentropy
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 14ffa6c40..e108b2e79 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -70,6 +70,7 @@ check_function_exists(qsort_s GIT_QSORT_S)
# random / entropy data
+check_function_exists(getentropy GIT_RAND_GETENTROPY)
check_function_exists(getloadavg GIT_RAND_GETLOADAVG)
# determine architecture of the machine