LIBPATH is used as dylib's path environment variable on AIX

This commit is contained in:
Kai Luo 2023-03-23 17:56:26 +08:00
parent 1c771fec33
commit 35726e909d

View File

@ -12,6 +12,8 @@ pub fn dylib_path_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"
}