Change library name to load on linux to "libvulkan.so.1".

This commit is contained in:
asuessenbach 2020-05-11 12:00:39 +02:00
parent fd9c3a1f55
commit d2a23f5086
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 )