Skip to content

Commit d3cc2f7

Browse files
author
Kai Luo
committed
Use LIBPATH in compiletest
1 parent b56fcb1 commit d3cc2f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/compiletest/src/util.rs

+2
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ pub fn dylib_env_var() -> &'static str {
156156
"DYLD_LIBRARY_PATH"
157157
} else if cfg!(target_os = "haiku") {
158158
"LIBRARY_PATH"
159+
} else if cfg!(target_os = "aix") {
160+
"LIBPATH"
159161
} else {
160162
"LD_LIBRARY_PATH"
161163
}

0 commit comments

Comments
 (0)