mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
AIX searches dynamic libraries in LIBPATH
.
This commit is contained in:
parent
38376893bd
commit
c5ed77629b
@ -55,6 +55,8 @@ pub fn dylib_path_envvar() -> &'static str {
|
|||||||
// penalty starting in 10.13. Cargo's testsuite ran more than twice as
|
// penalty starting in 10.13. Cargo's testsuite ran more than twice as
|
||||||
// slow with it on CI.
|
// slow with it on CI.
|
||||||
"DYLD_FALLBACK_LIBRARY_PATH"
|
"DYLD_FALLBACK_LIBRARY_PATH"
|
||||||
|
} else if cfg!(target_os = "aix") {
|
||||||
|
"LIBPATH"
|
||||||
} else {
|
} else {
|
||||||
"LD_LIBRARY_PATH"
|
"LD_LIBRARY_PATH"
|
||||||
}
|
}
|
||||||
|
@ -274,6 +274,7 @@ on the platform:
|
|||||||
* Windows: `PATH`
|
* Windows: `PATH`
|
||||||
* macOS: `DYLD_FALLBACK_LIBRARY_PATH`
|
* macOS: `DYLD_FALLBACK_LIBRARY_PATH`
|
||||||
* Unix: `LD_LIBRARY_PATH`
|
* Unix: `LD_LIBRARY_PATH`
|
||||||
|
* AIX: `LIBPATH`
|
||||||
|
|
||||||
The value is extended from the existing value when Cargo starts. macOS has
|
The value is extended from the existing value when Cargo starts. macOS has
|
||||||
special consideration where if `DYLD_FALLBACK_LIBRARY_PATH` is not already
|
special consideration where if `DYLD_FALLBACK_LIBRARY_PATH` is not already
|
||||||
|
Loading…
x
Reference in New Issue
Block a user