Use LIBPATH in compiletest

This commit is contained in:
Kai Luo 2023-03-29 14:55:30 +08:00
parent b56fcb173b
commit d3cc2f7646

View File

@ -156,6 +156,8 @@ pub fn dylib_env_var() -> &'static str {
"DYLD_LIBRARY_PATH"
} else if cfg!(target_os = "haiku") {
"LIBRARY_PATH"
} else if cfg!(target_os = "aix") {
"LIBPATH"
} else {
"LD_LIBRARY_PATH"
}