File: use-debian-lz4.patch

package info (click to toggle)
rust-lzzzz 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 292 kB
  • sloc: makefile: 2
file content (22 lines) | stat: -rw-r--r-- 553 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/build.rs
+++ b/build.rs
@@ -1,7 +1,7 @@
-fn main() -> Result<(), cc::Error> {
+fn main() {}/*-> Result<(), cc::Error> {
     let sources = &["lz4.c", "lz4hc.c", "lz4frame.c", "xxhash.c"][..];
     let dir = std::path::Path::new("vendor/liblz4");
     cc::Build::new()
         .files(sources.iter().map(|file| dir.join(file)))
         .try_compile("lz4")
-}
+}*/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -74,7 +74,3 @@
 
 [dev-dependencies.static_assertions]
 version = "1.1.0"
-
-[build-dependencies.cc]
-version = "1.0.72"
-features = ["parallel"]