mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #605 from asuessenbach/libvulkan
Change library name to load on linux to "libvulkan.so.1".
This commit is contained in:
commit
542d9c3f0b
@ -1414,7 +1414,7 @@ void VulkanHppGenerator::appendDispatchLoaderDynamic( std::string & str )
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
#if defined(__linux__)
|
#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__)
|
#elif defined(__APPLE__)
|
||||||
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
|
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
|
@ -96714,7 +96714,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
# endif
|
# endif
|
||||||
{
|
{
|
||||||
# if defined( __linux__ )
|
# 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__ )
|
# elif defined( __APPLE__ )
|
||||||
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
|
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
|
||||||
# elif defined( _WIN32 )
|
# elif defined( _WIN32 )
|
||||||
|
Loading…
Reference in New Issue
Block a user