Skip to content

Commit

Permalink
chore(deps): Update yara to v4.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejKastak committed Jan 26, 2024
1 parent c64f3a6 commit b1cbc3d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions yari-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,21 @@ fn main() {
);

// Linux link dir
let libyara_dir = yara_repo_root.join("libyara").join(".libs");
let libyara_includes = yara_repo_root.join("libyara").join("include");
let libyara_dir = yara_repo_root.join(".libs");
println!(
"cargo:rustc-link-search={}",
libyara_dir.to_str().expect("cannot convert libyara_dir to string")
);

let libyara_dir = yara_repo_root.join("libyara").join(".libs");
println!(
"cargo:rustc-link-search={}",
libyara_dir.to_str().expect("cannot find YARA libraries")
libyara_dir.to_str().expect("cannot convert libyara_dir to string")
);

let libyara_includes = yara_repo_root.join("libyara").join("include");


// Tell cargo to invalidate the built crate whenever the wrapper changes
println!("cargo:rerun-if-changed=wrapper.h");
println!(
Expand Down
2 changes: 1 addition & 1 deletion yari-sys/yara
Submodule yara updated 142 files

0 comments on commit b1cbc3d

Please sign in to comment.