zink: Define VK_LIBNAME for OHOS

Makes it possible for zink to load the Vulkan driver on OHOS.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
This commit is contained in:
Christian Gmeiner 2025-02-23 23:08:56 +01:00
parent 375c838984
commit cceee1f872

View file

@ -74,6 +74,8 @@ bool zink_tracing = false;
#define VK_LIBNAME "libvulkan.1.dylib"
#elif DETECT_OS_ANDROID
#define VK_LIBNAME "libvulkan.so"
#elif DETECT_OS_OHOS
#define VK_LIBNAME "libvulkan.so"
#else
#define VK_LIBNAME "libvulkan.so.1"
#endif