Skip to content

Commit

Permalink
adhoc code signing is missing for tvos(llvm issue)
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Pukenis <lukas.pukenis@nordsec.com>
  • Loading branch information
LukasPukenis committed Nov 12, 2024
1 parent ceab042 commit 1e4cd51
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions norddrop/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,10 @@ fn main() -> Result<(), Box<dyn Error>> {
println!("cargo:rustc-cdylib-link-arg=-Wl,-soname,{}", soname);
}

println!("===============> target_os: {}", target_os);
if target_os == "tvos" {
println!("cargo:rustc-cdylib-link-arg=-Wl,-adhoc_codesign");
}

Ok(())
}

0 comments on commit 1e4cd51

Please sign in to comment.