perlmod: build.rs: add dh-cargo lines

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-11-20 13:44:52 +01:00
parent a777421e5e
commit 7929a4b22e

View File

@ -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()
);
}