Skip to content

Conversation

@ahassany
Copy link
Contributor

Link xxhash with pkg-config

println!("cargo:rustc-link-lib=pcre2-8");
}
if let Err(e) = pkg_config::Config::new().probe("libxxhash") {
println!("cargo:warning=failed to find xxhash library with pkg-config: {}", e);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the warning, will the build script work ok if xxhash is not found? I see it is an optional libyang dependency, so I would prefer not to make it a mandatory dependency here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants