Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
fn main() -> Result<(), cc::Error> { |
| 2 |
let sources = &["lz4.c", "lz4hc.c", "lz4frame.c", "xxhash.c"][..]; |
| 3 |
let dir = std::path::Path::new("vendor/liblz4"); |
| 4 |
cc::Build::new() |
| 5 |
.files(sources.iter().map(|file| dir.join(file))) |
| 6 |
.try_compile("lz4") |
| 7 |
} |