mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 23:05:43 +00:00
Fix linux library name
This commit is contained in:
parent
fe60882bd1
commit
174c83bf06
@ -90,7 +90,7 @@ mod vk {
|
||||
lazy_static! {
|
||||
static ref VK_LIB: shared_library::dynamic_library::DynamicLibrary = {
|
||||
#[cfg(windows)] fn get_path() -> &'static Path { Path::new("vulkan-1.dll") }
|
||||
#[cfg(unix)] fn get_path() -> &'static Path { Path::new("libvulkan-1.so") }
|
||||
#[cfg(unix)] fn get_path() -> &'static Path { Path::new("libvulkan.so.1") }
|
||||
let path = get_path();
|
||||
shared_library::dynamic_library::DynamicLibrary::open(Some(path)).unwrap()
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user