Skip to content

Commit

Permalink
Link libresolv on all Apple OSs (#2767)
Browse files Browse the repository at this point in the history
  • Loading branch information
mineo333 authored Dec 14, 2024
1 parent be21fae commit 5324799
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libafl_frida/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 5324799

Please sign in to comment.