about summary refs log tree commit diff
path: root/library/std/src/sys/unix/kernel_copy.rs
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2023-06-15 11:13:03 -0400
committerdanakj <danakj@chromium.org>2023-06-15 11:13:03 -0400
commitc340325ebf348914c67fc62e868db8833845eeb9 (patch)
tree21c4d044804eb1cbda781d95d1ce69df2ddacd57 /library/std/src/sys/unix/kernel_copy.rs
parent4b83156a5c503174e7b4ce130edbe348fcd82817 (diff)
downloadrust-c340325ebf348914c67fc62e868db8833845eeb9.tar.gz
rust-c340325ebf348914c67fc62e868db8833845eeb9.zip
Remap dylib paths into the sysroot to be relative to the sysroot
Like for rlibs, the paths on the linker command line need to be relative
paths if the sysroot was specified by the user to be a relative path.

Dylibs put the path in /LIBPATH instead of into the file path of the
library itself, so we rehome the libpath and adjust the rehoming function
to be able to support both use cases, rlibs and dylibs.
Diffstat (limited to 'library/std/src/sys/unix/kernel_copy.rs')
0 files changed, 0 insertions, 0 deletions