File 0001-Revert-Fix-the-pkg-config-import-library-name-with-m.patch of Package mingw64-vulkan-loader

From 0066a775c9e8c5efbc136f9c086cd357c54a4291 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Wed, 22 Feb 2023 17:41:40 +0100
Subject: [PATCH] Revert "Fix the pkg-config import library name with
 mingw-w64"

The .dll.a suffix is known by mingw gcc; adding this kind of
incomplete suffix breaks generating correct dependencies on
opensuse mingw packages.

This reverts commit 688ad64341244e2ed3305780c713c753dd9d9433.
---
 loader/CMakeLists.txt | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index 5b0168bb7..c3d3b80bf 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -386,11 +386,7 @@ if(PKG_CONFIG_FOUND)
         set(PRIVATE_LIBS "Libs.private: ${PRIVATE_LIBS}")
     endif()
     if(WIN32)
-        if(MINGW)
-            set(VULKAN_LIB_SUFFIX "-1.dll")
-        else()
-            set(VULKAN_LIB_SUFFIX "-1")
-        endif()
+        set(VULKAN_LIB_SUFFIX "-1")
         # Set libdir path as in cmake's FindVulkan.cmake
         # https://github.com/KhronosGroup/Vulkan-Loader/issues/668
         if(CMAKE_SIZEOF_VOID_P EQUAL 8)
-- 
2.39.2

openSUSE Build Service is sponsored by