nostrdb-rs

nostrdb in rust!
git clone git://jb55.com/nostrdb-rs
Log | Files | Refs | Submodules | README | LICENSE

commit 9e691752f3e11ffaa12bbc1a096ef456b79c0c47
parent 413d7f7e52937774cfc3a0356c8a7788437eecf8
Author: Ahmed Bedair <bedair81@Ahmeds-MacBook-Pro.local>
Date:   Sat, 15 Mar 2025 09:45:15 +0000

Fix build.rs to link Security framework only for Apple targets

Diffstat:
Mbuild.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.rs b/build.rs @@ -120,7 +120,7 @@ fn main() { } // Link Security framework on macOS - if cfg!(target_os = "macos") { + if env::var("TARGET").unwrap().contains("apple") { println!("cargo:rustc-link-lib=framework=Security"); }