diff options
| author | bors <bors@rust-lang.org> | 2014-07-08 22:51:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-08 22:51:39 +0000 |
| commit | 206dd91742b43ffa81463e53671afdc412699905 (patch) | |
| tree | 9fb37452be434b72f124baacb8fbe469bc829702 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 8bb34a3146e6ba4bc7902a85de90cf4f8064ace0 (diff) | |
| parent | a0546ded103e4f00f0036becd6055a887fa53b80 (diff) | |
| download | rust-206dd91742b43ffa81463e53671afdc412699905.tar.gz rust-206dd91742b43ffa81463e53671afdc412699905.zip | |
auto merge of #14832 : alexcrichton/rust/no-rpath, r=brson
This commit disables rustc's emission of rpath attributes into dynamic libraries and executables by default. The functionality is still preserved, but it must now be manually enabled via a `-C rpath` flag. This involved a few changes to the local build system: * --disable-rpath is now the default configure option * Makefiles now prefer our own LD_LIBRARY_PATH over the user's LD_LIBRARY_PATH in order to support building rust with rust already installed. * The compiletest program was taught to correctly pass through the aux dir as a component of LD_LIBRARY_PATH in more situations. The major impact of this change is that neither rustdoc nor rustc will work out-of-the-box in all situations because they are dynamically linked. It must be arranged to ensure that the libraries of a rust installation are part of the LD_LIBRARY_PATH. The default installation paths for all platforms ensure this, but if an installation is in a nonstandard location, then configuration may be necessary. Additionally, for all developers of rustc, it will no longer be possible to run $target/stageN/bin/rustc out-of-the-box. The old behavior can be regained through the `--enable-rpath` option to the configure script. This change brings linux/mac installations in line with windows installations where rpath is not possible. Closes #11747 [breaking-change]
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
