]> git.lizzy.rs Git - rust.git/commit
Auto merge of #30353 - alexcrichton:rpath-by-default, r=brson
authorbors <bors@rust-lang.org>
Wed, 23 Dec 2015 00:42:19 +0000 (00:42 +0000)
committerbors <bors@rust-lang.org>
Wed, 23 Dec 2015 00:42:19 +0000 (00:42 +0000)
commit45e52dadb8548dcbe8da91fe624dd991b4994e70
tree21e4b10ed9aca6b3404d345d7f2cc3415a502549
parent42c3ef8f9fd4b0dd1f881c49323bad456163f202
parent9bff8b090a1ee7bc03fc9b1cd2fac14ad5c77023
Auto merge of #30353 - alexcrichton:rpath-by-default, r=brson

This commit changes our distribution and in-tree sources to pass the `-C rpath`
flag by default during compiles. This means that from-source builds, including
our release channels, will have this option enabled as well. Motivated
by #29941, this change means that the compiler should be usable as-is on all
platforms just after extraction or installation. This experience is already true
on Windows but on Unixes you still need to set up LD_LIBRARY_PATH or the
equivalent, which can often be unfortunate.

This option was originally turned off by default for Linux distributions who
tend to take care of these sorts of details themselves, so it is expected that
all those builds of Rust will want to pass `--disable-rpath` to the configure
script to preserve that behavior.

Closes #29941
configure