[skip changelog]
@ -1,19 +1,24 @@
[requires]
build = [
"pkgconfig(libdeflate)"
]
lib = [
[package]
cargo-toml-patch-comments = [
"Make the dependency on crate(pkg-config) non-optional instead of associating it with the “dynamic” feature, since we patch the crate to always link dynamically with the system libdeflate, regardless of the selected features.",
"""\
Make the dependency on crate(pkg-config) non-optional instead of associating \
it with the “dynamic” feature, since we patch the crate to always link \
dynamically with the system libdeflate, regardless of the selected \
features.\
""",
[scripts.prep]
pre = [
'''
# Remove the bundled copy of libdeflate.
rm -rv libdeflate
# Make libdeflate detection with pkg-config unconditional.