in optee-teec/optee-teec-sys/build.rs [36:41]
fn production_build() {
let optee_client_dir = env::var("OPTEE_CLIENT_EXPORT").expect("OPTEE_CLIENT_EXPORT is not set");
let search_path = Path::new(&optee_client_dir).join("usr/lib");
println!("cargo:rustc-link-search={}", search_path.display());
println!("cargo:rustc-link-lib=dylib=teec");
}