diff --git a/norddrop/build.rs b/norddrop/build.rs index 04790af..c77183b 100644 --- a/norddrop/build.rs +++ b/norddrop/build.rs @@ -91,5 +91,10 @@ fn main() -> Result<(), Box> { 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(()) }