mirror of
https://git.proxmox.com/git/perlmod
synced 2025-10-04 13:22:15 +00:00
perlmod: build.rs: rerun-if-changed=src/glue.c
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
ba9864d3b9
commit
95d8d56b0a
@ -66,7 +66,8 @@ fn main() {
|
|||||||
cc.flag(flag);
|
cc.flag(flag);
|
||||||
}
|
}
|
||||||
|
|
||||||
// now build the static library:
|
// now build the static library, and tell cargo that a change to `glue.c` requires a rebuild:
|
||||||
|
println!("cargo::rerun-if-changed=src/glue.c");
|
||||||
cc.file("src/glue.c").compile("libglue.a");
|
cc.file("src/glue.c").compile("libglue.a");
|
||||||
|
|
||||||
// get perl's MULTIPLICITY flag:
|
// get perl's MULTIPLICITY flag:
|
||||||
|
Loading…
Reference in New Issue
Block a user