diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index dcf77bd..e5fe5d7 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -1414,7 +1414,7 @@ void VulkanHppGenerator::appendDispatchLoaderDynamic( std::string & str ) #endif { #if defined(__linux__) - m_library = dlopen( "libvulkan.so", RTLD_NOW | RTLD_LOCAL ); + m_library = dlopen( "libvulkan.so.1", RTLD_NOW | RTLD_LOCAL ); #elif defined(__APPLE__) m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL ); #elif defined(_WIN32) diff --git a/vulkan/vulkan.hpp b/vulkan/vulkan.hpp index 952040a..7565100 100644 --- a/vulkan/vulkan.hpp +++ b/vulkan/vulkan.hpp @@ -96714,7 +96714,7 @@ namespace VULKAN_HPP_NAMESPACE # endif { # if defined( __linux__ ) - m_library = dlopen( "libvulkan.so", RTLD_NOW | RTLD_LOCAL ); + m_library = dlopen( "libvulkan.so.1", RTLD_NOW | RTLD_LOCAL ); # elif defined( __APPLE__ ) m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL ); # elif defined( _WIN32 )