File: fix-dh-cargo-println.patch

package info (click to toggle)
rust-esaxx-rs 0.1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 640 kB
  • sloc: cpp: 8; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: esaxx-rs/build.rs
===================================================================
--- esaxx-rs.orig/build.rs
+++ esaxx-rs/build.rs
@@ -1,6 +1,9 @@
 #[cfg(feature = "cpp")]
 #[cfg(not(target_os = "macos"))]
+
+use std::env;
 fn main() {
+    println!("dh-cargo:deb-built-using=esaxx=0={}", env::var("CARGO_MANIFEST_DIR").unwrap());
     cc::Build::new()
         .cpp(true)
         .flag("-std=c++11")