build-sys: Rebuild on C++ changes

Not running the code you think you are is an evil trap.
Fixes fallout from b122579222
This commit is contained in:
Colin Walters 2021-02-01 23:42:01 +00:00 committed by OpenShift Merge Robot
parent ded61a472f
commit 61a50e3d0e

View File

@ -20,6 +20,10 @@ fn main() -> Result<()> {
let cwd = cwd.to_str().expect("utf8 pwd");
println!("cargo:rustc-link-search={}/.libs", cwd);
println!("cargo:rustc-link-lib=static=rpmostreeinternals");
println!(
"cargo:rerun-if-changed={}/.libs/librpmostreeinternals.a",
cwd
);
println!("cargo:rustc-link-lib=cap");
println!("cargo:rustc-link-search={}/libdnf-build/libdnf", cwd);
println!("cargo:rustc-link-lib=dnf");