mirror of
https://git.proxmox.com/git/perlmod
synced 2025-10-04 18:27:16 +00:00
perlmod: build.rs: add dh-cargo lines
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
a777421e5e
commit
7929a4b22e
@ -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()
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user