-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow linking against system zlib-ng #83
Comments
I am interested in this feature too. |
any updates on this? |
I don’t have a nice upstreamable patch for conditionalizing this, but I can at least share how we unconditionally link the system library in Fedora’s
fn main() {
println!("cargo:rustc-link-lib=dylib=z-ng");
println!("cargo:rustc-cfg=zng");
} Hope that’s helpful for some people. |
The above comment was written based on 1.1.15. For the just-released 1.1.16, the script replaces Also, you may consider the trivial script in #83 (comment) to be contributed under the same |
Currently it always(*) builds the vendored zlib-ng when zlib-ng feature is enabled
The text was updated successfully, but these errors were encountered: