diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-09-05 11:02:04 +0800 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-09-05 14:53:09 +0800 |
| commit | e19a56419194de49421c717810ce69ef8ab11358 (patch) | |
| tree | c57a0ad049f7cf3a3eef1c2646b72aebc52bc1f5 /src/rustllvm/RustWrapper.cpp | |
| parent | b16fbeb8c1c35688ca31cf880847d45e2debbc2b (diff) | |
| parent | 92aa7e42524ec0ce374a4463b8cff9a05b81af6f (diff) | |
| download | rust-e19a56419194de49421c717810ce69ef8ab11358.tar.gz rust-e19a56419194de49421c717810ce69ef8ab11358.zip | |
Rollup merge of #36242 - semarie:local-rebuild, r=alexcrichton
Use libraries from local-rust-root directory in configure when using … …--enable-local-rebuild When using --enable-local-rebuild configure options, the configure script will test rustc version. But when running it, it will not use the libraries in the local-rust-root directory. So use `LD_LIBRARY_PATH` environment variable to correct it. Under OpenBSD, we use `--enable-local-rebuild` for rebuilding rustc-1.11.0 using rustc-1.11.0. But as it is in use in -current (the developpment branch of OpenBSD), system libraries could easily have ABI/API changes. The (unofficial) bootstrap (rustc-1.11.0 used for building rustc-1.11.0) include several system libraries to permit it to run. The build system use libraries in stage0/lib directory. But the configure script doesn't. Due to my special use of `--enable-local-rebuild`, I dunno if this PR is suitable for inclusion. But it corrects a difference between build and configure use of the binary. r? @alexcrichton
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
