summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-06-28 18:26:20 +0300
committerEli Zaretskii <eliz@gnu.org>2020-06-28 18:26:20 +0300
commit162f375bac22786d95a253f03de0148be4fe3201 (patch)
tree8c0c21467f302e779cc6fb9de18fd4de27fc9d8c /nt
parente4028d15153a29966425d93be6374fae770d14a8 (diff)
downloademacs-162f375bac22786d95a253f03de0148be4fe3201.tar.gz
MS-Windows fixes as followup to import of Gnulib 'getrandom'
* nt/mingw-cfg.site (gl_cv_lib_assume_bcrypt): Set to "no" to disable linking against bcrypt.dll. (Bug#42095) * src/gnutls.c (gnutls_rnd) [WINDOWSNT]: Don't define a function pointer, and don't load it from GnuTLS DLL. (w32_gnutls_rnd) [WINDOWSNT]: Delete unused function. * src/fns.c (gnutls_rnd) [WINDOWSNT]: Don't redirect to w32_gnutls_rnd.
Diffstat (limited to 'nt')
-rw-r--r--nt/mingw-cfg.site3
1 files changed, 3 insertions, 0 deletions
diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site
index 2e898c745e5..4a77cc20b4e 100644
--- a/nt/mingw-cfg.site
+++ b/nt/mingw-cfg.site
@@ -153,3 +153,6 @@ gl_cv_warn_c__Wredundant_decls=no
# missing prototype, since lib/unistd.h, where Gnulib has its
# prototype, isn't built on Windows.
gl_cv_func_copy_file_range=yes
+# We don't want to build Emacs so it depends on bcrypt.dll, since then
+# it will refuse to start on systems where that DLL is absent.
+gl_cv_lib_assume_bcrypt=no