Blame SOURCES/fix-vulkan-loader.patch

f74db7
From 66a23ac8c566299343668f094de50798a5f4a0e4 Mon Sep 17 00:00:00 2001
f74db7
From: Michel Zou <xantares09@hotmail.com>
f74db7
Date: Wed, 16 Dec 2020 15:03:23 +0100
f74db7
Subject: [PATCH] Rename LIB_SUFFIX to VULKAN_LIB_SUFFIX
f74db7
f74db7
Closes #527
f74db7
---
f74db7
 loader/CMakeLists.txt | 2 +-
f74db7
 loader/vulkan.pc.in   | 2 +-
f74db7
 2 files changed, 2 insertions(+), 2 deletions(-)
f74db7
f74db7
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
f74db7
index 659511855..ba9f460f1 100644
f74db7
--- a/loader/CMakeLists.txt
f74db7
+++ b/loader/CMakeLists.txt
f74db7
@@ -327,7 +327,7 @@ if(PKG_CONFIG_FOUND)
f74db7
         set(PRIVATE_LIBS "${PRIVATE_LIBS} -l${LIB}")
f74db7
     endforeach()
f74db7
     if(WIN32)
f74db7
-        set(LIB_SUFFIX "-1")
f74db7
+        set(VULKAN_LIB_SUFFIX "-1")
f74db7
     endif ()
f74db7
     configure_file("vulkan.pc.in" "vulkan.pc" @ONLY)
f74db7
     install(FILES "${CMAKE_CURRENT_BINARY_DIR}/vulkan.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
f74db7
diff --git a/loader/vulkan.pc.in b/loader/vulkan.pc.in
f74db7
index fc17cb1f3..44049ee34 100644
f74db7
--- a/loader/vulkan.pc.in
f74db7
+++ b/loader/vulkan.pc.in
f74db7
@@ -6,7 +6,7 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
f74db7
 Name: @CMAKE_PROJECT_NAME@
f74db7
 Description: Vulkan Loader
f74db7
 Version: @VK_API_VERSION@
f74db7
-Libs: -L${libdir} -lvulkan@LIB_SUFFIX@
f74db7
+Libs: -L${libdir} -lvulkan@VULKAN_LIB_SUFFIX@
f74db7
 Libs.private: @PRIVATE_LIBS@
f74db7
 Cflags: -I${includedir}
f74db7