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