From 7929a4b22e7dca70a34684ccd0f77b92b381958d Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 20 Nov 2020 13:44:52 +0100 Subject: [PATCH] perlmod: build.rs: add dh-cargo lines Signed-off-by: Wolfgang Bumiller --- perlmod/build.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perlmod/build.rs b/perlmod/build.rs index 7db9d93..80709b4 100644 --- a/perlmod/build.rs +++ b/perlmod/build.rs @@ -68,4 +68,10 @@ fn main() { // now build the static library: cc.file("src/glue.c").compile("libglue.a"); + + // the debian package should include src/glue.c + println!( + "dh-cargo:deb-built-using=glue=1={}", + env::var("CARGO_MANIFEST_DIR").unwrap() + ); }