1
Fork 0

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" "DYLD_LIBRARY_PATH"
} else if cfg!(target_os = "haiku") { } else if cfg!(target_os = "haiku") {
"LIBRARY_PATH" "LIBRARY_PATH"
} else if cfg!(target_os = "aix") {
"LIBPATH"
} else { } else {
"LD_LIBRARY_PATH" "LD_LIBRARY_PATH"
} }