Skip to content

Commit 602e6c7

Browse files
committed
configure.ac: Fix mis-detection of getrandom on Debian GNU/kFreeBSD (#50)
There is no such thing but we need to link (not just compile) to realize.
1 parent e5e25fa commit 602e6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expat/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([
130130

131131

132132
AC_MSG_CHECKING([for getrandom (Linux 3.17+, glibc 2.25+)])
133-
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
133+
AC_LINK_IFELSE([AC_LANG_SOURCE([
134134
#include <stdlib.h> /* for NULL */
135135
#include <sys/random.h>
136136
int main() {

0 commit comments

Comments
 (0)