From 19ade2352b4f6ea94858a78d27fa555696b8bb35 Mon Sep 17 00:00:00 2001 From: Sharad Date: Sat, 14 Dec 2024 03:38:21 -0500 Subject: [PATCH] Link libresolv on all apple OSs --- libafl_frida/build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libafl_frida/build.rs b/libafl_frida/build.rs index f7e10787fd..7d0656cc4c 100644 --- a/libafl_frida/build.rs +++ b/libafl_frida/build.rs @@ -18,6 +18,9 @@ fn main() { println!("cargo:rustc-link-lib=dylib=c++"); } + #[cfg(target_vendor = "apple")] + println!("cargo:rustc-link-lib=dylib=resolv"); + println!("cargo:rerun-if-changed=build.rs"); println!("cargo:rerun-if-changed=test_harness.cpp"); println!("cargo:rerun-if-changed=src/gettls.c");