File: fix-cc-build.patch

package info (click to toggle)
rust-hurl 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,956 kB
  • sloc: makefile: 8; ansic: 2
file content (12 lines) | stat: -rw-r--r-- 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
--- a/build.rs
+++ b/build.rs
@@ -19,2 +19,3 @@
 use std::path::Path;
+use std::env;
 
@@ -41,3 +42,4 @@
         .flag_if_supported("-Wno-unused-parameter") // unused parameter in silent callback
-        .compile("mylib");
+        .compile("hurl");
+    println!("dh-cargo:deb-built-using=hurl=0={}", env::var("CARGO_MANIFEST_DIR").unwrap());
 }