Skip to content

Commit

Permalink
fix: lib name for darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
doums committed Oct 5, 2023
1 parent acc531f commit a260d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const LIB_FILE: &str = "libvpnym.so";
#[cfg(target_os = "windows")]
const LIB_FILE: &str = "vpnym.dll";
#[cfg(target_os = "macos")]
const LIB_FILE: &str = "vpnym.dylib";
const LIB_FILE: &str = "libvpnym.dylib";

fn call_dynamic() -> Result<(), Box<dyn std::error::Error>> {
let lib_path = format!("lib/{LIB_FILE}");
Expand Down

0 comments on commit a260d5c

Please sign in to comment.