mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
build: Detect soname of libvulkan at configure time.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
94f85114c5
commit
61697e092a
@@ -283,9 +283,9 @@ static HRESULT vkd3d_init_vk_global_procs(struct vkd3d_instance *instance,
|
||||
|
||||
if (!vkGetInstanceProcAddr)
|
||||
{
|
||||
if (!(instance->libvulkan = dlopen("libvulkan.so.1", RTLD_NOW)))
|
||||
if (!(instance->libvulkan = dlopen(SONAME_LIBVULKAN, RTLD_NOW)))
|
||||
{
|
||||
ERR("Failed to load libvulkan.\n");
|
||||
ERR("Failed to load libvulkan: %s.\n", dlerror());
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user