From 5324799935cc74762d9b945214a39f9916fcfdd6 Mon Sep 17 00:00:00 2001 From: Sharad Khanna Date: Sat, 14 Dec 2024 13:54:19 -0500 Subject: [PATCH] Link libresolv on all Apple OSs (#2767) --- 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");