From 798caa12af4260f5cd26cac06e5438eedff47994 Mon Sep 17 00:00:00 2001 From: Fabrice Popineau Date: Thu, 21 Apr 2016 19:23:00 +0300 Subject: [PATCH] Avoid run-time dependency on libwinpthread DLL on MS-Windows * nt/mingw-cfg.site (ac_cv_search_clock_gettime) (ac_cv_func_clock_gettime, ac_cv_func_clock_settime): Force to not present, so that MinGW64 builds don't depend on libwinpthread. (Bug#22959) --- nt/mingw-cfg.site | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site index ff9df60c275..9d630087974 100644 --- a/nt/mingw-cfg.site +++ b/nt/mingw-cfg.site @@ -40,6 +40,12 @@ gl_cv_sys_struct_timespec_in_pthread_h=no # Or at all... ac_cv_header_pthread_h=no +# We don't want to check for these functions +# because they are implemented in libwinpthread. +ac_cv_search_clock_gettime="none required" +ac_cv_func_clock_gettime=no +ac_cv_func_clock_settime=no + # ACL functions are implemented in w32.c ac_cv_search_acl_get_file="none required" ac_cv_func_acl_get_file=yes -- 2.39.2