diff --git a/README.md b/README.md index dd57f13..b59de40 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The best way to make Arma 3 Extensions. ```toml [dependencies] -arma-rs = "1.11.8" +arma-rs = "1.11.9" [lib] name = "my_extension" diff --git a/arma-rs/Cargo.toml b/arma-rs/Cargo.toml index 44c4713..4d3d31b 100644 --- a/arma-rs/Cargo.toml +++ b/arma-rs/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "arma-rs" description = "Arma 3 Extensions in Rust" -version = "1.11.8" +version = "1.11.9" edition = "2021" authors = ["Brett Mayson"] repository = "https://github.com/brettmayson/arma-rs" diff --git a/arma-rs/src/lib.rs b/arma-rs/src/lib.rs index 33c47c0..43c0ec9 100644 --- a/arma-rs/src/lib.rs +++ b/arma-rs/src/lib.rs @@ -358,7 +358,7 @@ impl ExtensionBuilder { #[cfg(all(not(windows), not(debug_assertions)))] let request_context = { - let handle = unsafe { libc::dlopen(std::ptr::null(), libc::LAZY) }; + let handle = unsafe { libc::dlopen(std::ptr::null(), libc::RTLD_LAZY) }; if handle.is_null() { panic!("Failed to open handle to current process"); }