diff -Naur gmsh-gmsh_4_7_1.orig/CMakeLists.txt gmsh-gmsh_4_7_1/CMakeLists.txt
--- gmsh-gmsh_4_7_1.orig/CMakeLists.txt	2020-11-16 16:30:16.000000000 +0100
+++ gmsh-gmsh_4_7_1/CMakeLists.txt	2020-11-27 22:43:20.426861100 +0100
@@ -1670,7 +1670,7 @@
      SOVERSION ${GMSH_MAJOR_VERSION}.${GMSH_MINOR_VERSION})
   if(WIN32)
     set_target_properties(shared PROPERTIES PREFIX "" IMPORT_PREFIX ""
-      IMPORT_SUFFIX ".lib" COMPILE_FLAGS "-DGMSH_DLL -DGMSH_DLL_EXPORT")
+      IMPORT_SUFFIX ".dll.a" IMPORT_PREFIX "lib" COMPILE_FLAGS "-DGMSH_DLL -DGMSH_DLL_EXPORT")
   endif()
   target_link_libraries(shared ${LINK_LIBRARIES})
   # don't define LC_RPATH in dylib for development, to not get endless warnings
