Blame SOURCES/add-missing-export.patch

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