LIBPATH is used as dylib's path environment variable on AIX
This commit is contained in:
parent
1c771fec33
commit
35726e909d
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue