diff --git a/ash/src/entry.rs b/ash/src/entry.rs index 15296509..b590fa4b 100644 --- a/ash/src/entry.rs +++ b/ash/src/entry.rs @@ -69,12 +69,13 @@ impl Entry { target_os = "macos", target_os = "ios", target_os = "android", - target_os = "fuchsia" + target_os = "fuchsia", + target_env = "ohos" )) ))] const LIB_PATH: &str = "libvulkan.so.1"; - #[cfg(any(target_os = "android", target_os = "fuchsia"))] + #[cfg(any(target_os = "android", target_os = "fuchsia", target_env = "ohos"))] const LIB_PATH: &str = "libvulkan.so"; #[cfg(any(target_os = "macos", target_os = "ios"))]