Skip to content

Commit

Permalink
iox-#5 Fix maxOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Jun 20, 2022
1 parent 24213dd commit e0b479e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")))]
Expand Down
1 change: 1 addition & 0 deletions src/tests/basic_pub_sub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e0b479e

Please sign in to comment.