961298
Index: cmake-3.23.0-rc2/Modules/Platform/Windows-GNU.cmake
961298
===================================================================
961298
--- cmake-3.23.0-rc2.orig/Modules/Platform/Windows-GNU.cmake
961298
+++ cmake-3.23.0-rc2/Modules/Platform/Windows-GNU.cmake
961298
@@ -24,11 +24,11 @@ set(CMAKE_STATIC_LIBRARY_SUFFIX ".a")
961298
 set(CMAKE_EXTRA_LINK_EXTENSIONS ".lib") # MinGW can also link to a MS .lib
961298
 
961298
 set(CMAKE_FIND_LIBRARY_PREFIXES "lib" "")
961298
-set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".a" ".lib")
961298
+set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".dll.a" ".a" ".lib")
961298
 set(CMAKE_C_STANDARD_LIBRARIES_INIT "-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32")
961298
 set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}")
bc5d70
 
bc5d70
-set(CMAKE_DL_LIBS "")
961298
+set(CMAKE_DL_LIBS "dl")
bc5d70
 set(CMAKE_LIBRARY_PATH_FLAG "-L")
bc5d70
 set(CMAKE_LINK_LIBRARY_FLAG "-l")
bc5d70
 set(CMAKE_LINK_DEF_FILE_FLAG "") # Empty string: passing the file is enough