about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-29 19:46:44 -0700
committerbors <bors@rust-lang.org>2014-04-29 19:46:44 -0700
commitf77784b57f55b1aa0c5e8359995a688750a9217b (patch)
treec88eecb7ef2444a62dadf6b62ca7729518e203a4 /src/rustllvm/RustWrapper.cpp
parentcbf113182ce58ee8b5a253679c7b518abbb1f5e2 (diff)
parent1a367c62cd52b11d74f3810035cd25c368a3fe9e (diff)
downloadrust-f77784b57f55b1aa0c5e8359995a688750a9217b.tar.gz
rust-f77784b57f55b1aa0c5e8359995a688750a9217b.zip
auto merge of #13857 : alexcrichton/rust/add-dylib-paths, r=brson
When a syntax extension is loaded by the compiler, the dylib that is opened may
have other dylibs that it depends on. The dynamic linker must be able to find
these libraries on the system or else the library will fail to load.

Currently, unix gets by with the use of rpaths. This relies on the dylib not
moving around too drastically relative to its dependencies. For windows,
however, this is no rpath available, and in theory unix should work without
rpaths as well.

This modifies the compiler to add all -L search directories to the dynamic
linker's set of load paths. This is currently managed through environment
variables for each platform.

Closes #13848
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions