account for change in PKG_CONFIG_PATH
@@ -3,6 +3,8 @@ use std::{env, path::Path, process::Command};
pub fn build(manifest_dir: &Path, target_triple: &str, out_dir: &Path) {
println!("cargo:rerun-if-env-changed=CC");
println!("cargo:rerun-if-env-changed=CXX");
+ println!("cargo:rerun-if-env-changed=PKG_CONFIG_PATH");
+ println!("cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR");
println!("cargo:rerun-if-changed=cfltk/CMakeLists.txt");
println!("cargo:rerun-if-changed=cfltk/include/cfl.h");
println!("cargo:rerun-if-changed=cfltk/include/cfl_widget.h");
