summaryrefslogtreecommitdiffstats
path: root/src/bootstrap/dylib_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap/dylib_util.rs')
-rw-r--r--src/bootstrap/dylib_util.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/dylib_util.rs b/src/bootstrap/dylib_util.rs
index 6d75272c5..b14c0bed6 100644
--- a/src/bootstrap/dylib_util.rs
+++ b/src/bootstrap/dylib_util.rs
@@ -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"
}