From 1e4cd51edbb4643ba9f1cf92d47bd95164ded20f Mon Sep 17 00:00:00 2001 From: Lukas Pukenis Date: Tue, 12 Nov 2024 12:02:15 +0200 Subject: [PATCH] adhoc code signing is missing for tvos(llvm issue) Signed-off-by: Lukas Pukenis --- norddrop/build.rs | 5 +++++ 1 file changed, 5 insertions(+) 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(()) }