Blame SOURCES/add-missing-export.patch

ff8627
diff -up Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.cpp.dma Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.cpp
ff8627
--- Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.cpp.dma	2021-08-07 08:13:46.344320103 +1000
ff8627
+++ Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.cpp	2021-08-07 08:14:22.130893289 +1000
ff8627
@@ -68,7 +68,7 @@ class ConfigFile {
ff8627
 
ff8627
 static ConfigFile layer_config;
ff8627
 
ff8627
-string GetEnvironment(const char *variable) {
ff8627
+VK_LAYER_EXPORT string GetEnvironment(const char *variable) {
ff8627
 #if !defined(__ANDROID__) && !defined(_WIN32)
ff8627
     const char *output = getenv(variable);
ff8627
     return output == NULL ? "" : output;
ff8627
diff -up Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.h.dma Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.h
ff8627
--- Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.h.dma	2021-08-07 08:14:04.352608540 +1000
ff8627
+++ Vulkan-ValidationLayers-sdk-1.2.182.0/layers/vk_layer_config.h	2021-08-07 08:14:15.237782885 +1000
ff8627
@@ -33,7 +33,7 @@
ff8627
 #define SECONDARY_VK_REGISTRY_HIVE_STR "HKEY_CURRENT_USER"
ff8627
 #endif
ff8627
 
ff8627
-std::string GetEnvironment(const char *variable);
ff8627
+VK_LAYER_EXPORT std::string GetEnvironment(const char *variable);
ff8627
 
ff8627
 #ifdef __cplusplus
ff8627
 extern "C" {