File qt5-qtwebkit-use-lib-prefix-for-mingw.patch of Package mingw64-libqt5-qtwebkit

diff -ur qtwebkit-everywhere-src-5.15.14+kde0.orig/Source/cmake/OptionsQt.cmake qtwebkit-everywhere-src-5.15.14+kde0/Source/cmake/OptionsQt.cmake
--- qtwebkit-everywhere-src-5.15.14+kde0.orig/Source/cmake/OptionsQt.cmake      2020-03-05 03:21:04.000000000 +0100
+++ qtwebkit-everywhere-src-5.15.14+kde0/Source/cmake/OptionsQt.cmake   2024-06-26 17:57:48.445520643 +0200
@@ -177,7 +177,7 @@
 endif ()
 
 # Align build product names with QMake conventions
-if (WIN32)
+if (WIN32 AND MSVC)
     if (${CMAKE_BUILD_TYPE} MATCHES "Debug")
         set(CMAKE_DEBUG_POSTFIX d)
     endif ()
openSUSE Build Service is sponsored by