File 001-3.2-cmake-suffix.patch of Package mingw64-glfw

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -198,9 +198,6 @@
         set(_GLFW_USE_HYBRID_HPG 1)
     endif()
 
-    if (BUILD_SHARED_LIBS)
-        set (GLFW_LIB_NAME_SUFFIX "dll")
-    endif()
 endif()
 
 #--------------------------------------------------------------------
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -163,12 +163,11 @@
             set_target_properties(glfw PROPERTIES PREFIX "")
 
             # Add a suffix to the import library to avoid naming conflicts
-            set_target_properties(glfw PROPERTIES IMPORT_SUFFIX "dll.a")
+            set_target_properties(glfw PROPERTIES IMPORT_SUFFIX ".dll.a")
         else()
             # Add a suffix to the import library to avoid naming conflicts
-            set_target_properties(glfw PROPERTIES IMPORT_SUFFIX "dll.lib")
+            set_target_properties(glfw PROPERTIES IMPORT_SUFFIX ".dll.lib")
         endif()
-        set (GLFW_LIB_NAME_SUFFIX "dll")
 
         target_compile_definitions(glfw INTERFACE GLFW_DLL)
     elseif (APPLE)
openSUSE Build Service is sponsored by