diff options
author | Brent Cook <busterb@gmail.com> | 2020-11-11 05:39:56 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2020-11-11 05:39:56 -0600 |
commit | df3d4bb57a253f85bb60567aaea5f2dd992a9fbd (patch) | |
tree | ce470698e45cccf76c7f1c05c803936b41fa52ee /m4 | |
parent | 9abd36e3af5876f67c633f27496ad5660ab7fe24 (diff) | |
download | portable-df3d4bb57a253f85bb60567aaea5f2dd992a9fbd.tar.gz portable-df3d4bb57a253f85bb60567aaea5f2dd992a9fbd.tar.bz2 portable-df3d4bb57a253f85bb60567aaea5f2dd992a9fbd.zip |
Add -lbcrypt to Windows builds for CNG in getentropy
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-os-options.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4 index 8241aee..c014efb 100644 --- a/m4/check-os-options.m4 +++ b/m4/check-os-options.m4 | |||
@@ -112,7 +112,7 @@ char buf[1]; getentropy(buf, 1); | |||
112 | CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS" | 112 | CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS" |
113 | CPPFLAGS="$CPPFLAGS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600" | 113 | CPPFLAGS="$CPPFLAGS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600" |
114 | CPPFLAGS="$CPPFLAGS" | 114 | CPPFLAGS="$CPPFLAGS" |
115 | AC_SUBST([PLATFORM_LDADD], ['-lws2_32']) | 115 | AC_SUBST([PLATFORM_LDADD], ['-lws2_32 -lbcrypt']) |
116 | ;; | 116 | ;; |
117 | *solaris*) | 117 | *solaris*) |
118 | HOST_OS=solaris | 118 | HOST_OS=solaris |