spark404 commented on code in PR #246:
URL:
https://github.com/apache/teaclave-trustzone-sdk/pull/246#discussion_r2459608409
##########
optee-teec/optee-teec-sys/build.rs:
##########
@@ -43,7 +43,14 @@ fn link() {
let optee_client_dir =
env::var(ENV_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());
+ let library_path = PathBuf::from(optee_client_dir).join("usr/lib");
+ if !library_path.exists() {
+ panic!(
+ "Library path {} does not exist",
Review Comment:
@DemesneGH I did notice that this location appears changed in recent
versions of optee_client? I ran into this issue when using the 4.7.0 branch
while building a custom TA.
```
ls ../optee/optee_client/out/
libckteec libseteec libteec tee-supplicant
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]