diff --git a/build.rs b/build.rs index ad95cfd..8ec0ef0 100644 --- a/build.rs +++ b/build.rs @@ -144,6 +144,7 @@ fn main() -> std::io::Result<()> { println!("cargo:rustc-link-lib=iceoryx_hoofs"); println!("cargo:rustc-link-lib=iceoryx_platform"); + #[cfg(target_os = "linux")] println!("cargo:rustc-link-lib=acl"); #[cfg(not(any(target_os = "windows", target_os = "macos")))] diff --git a/src/tests/basic_pub_sub.rs b/src/tests/basic_pub_sub.rs index cf0aa02..c72b97c 100644 --- a/src/tests/basic_pub_sub.rs +++ b/src/tests/basic_pub_sub.rs @@ -32,6 +32,7 @@ fn basic_pub_sub() -> Result<()> { let publisher = topic.offer(); let mut sample = publisher.allocate_sample()?; + const SEND_COUNTER: u32 = 42; sample.counter = SEND_COUNTER; publisher.publish(sample);