1.1 --- a/common/autoconf/toolchain_windows.m4 Tue Dec 17 07:03:09 2019 +0000 1.2 +++ b/common/autoconf/toolchain_windows.m4 Sun Sep 15 07:47:13 2019 +0200 1.3 @@ -652,7 +652,7 @@ 1.4 if test "x$USE_UCRT" = "xtrue"; then 1.5 AC_MSG_CHECKING([for UCRT DLL dir]) 1.6 if test "x$with_ucrt_dll_dir" != x; then 1.7 - if test -z "$(ls -d "$with_ucrt_dll_dir/*.dll" 2> /dev/null)"; then 1.8 + if test -z "$(ls -d "$with_ucrt_dll_dir/"*.dll 2> /dev/null)"; then 1.9 AC_MSG_RESULT([no]) 1.10 AC_MSG_ERROR([Could not find any dlls in $with_ucrt_dll_dir]) 1.11 else