Skip to content

Commit 35726e9

Browse files
author
Kai Luo
committed
LIBPATH is used as dylib's path environment variable on AIX
1 parent 1c771fe commit 35726e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/dylib_util.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ pub fn dylib_path_var() -> &'static str {
1212
"DYLD_LIBRARY_PATH"
1313
} else if cfg!(target_os = "haiku") {
1414
"LIBRARY_PATH"
15+
} else if cfg!(target_os = "aix") {
16+
"LIBPATH"
1517
} else {
1618
"LD_LIBRARY_PATH"
1719
}

0 commit comments

Comments
 (0)