nostrdb-rs

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

commit ee8afeeb0b6695fca6d27dd0b74a8dc159e37b95
parent d405234d743009881ff89558f3e6abc63246e6e5
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 29 Jun 2024 18:17:32 -0700

fix macos build

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mbuild.rs | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/build.rs b/build.rs @@ -110,6 +110,11 @@ fn main() { println!("cargo:rustc-link-search=native={}", out_path.display()); println!("cargo:rustc-link-lib=static=nostrdb"); + // Link Security framework on macOS + if cfg!(target_os = "macos") { + println!("cargo:rustc-link-lib=framework=Security"); + } + // // We only need bindgen when we update the bindings. // I don't want to complicate the build with it.