]> git.lizzy.rs Git - rust.git/commit
rustbuild: Fix --enable-rpath usage
authorAlex Crichton <alex@alexcrichton.com>
Tue, 12 Apr 2016 05:54:10 +0000 (22:54 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 12 Apr 2016 05:54:10 +0000 (22:54 -0700)
commit11ef3a9c932711233127ffc7108b3a2ceed292e1
tree98c59fb0e8fa6d88dbefff24073689566a82a9c9
parentc0221c8897db309a79990367476177b1230bb264
rustbuild: Fix --enable-rpath usage

This commit fixes the `--enable-rpath` configure flag in rustbuild to work
despite the compile-time directories being different than the runtime
directories. This unfortunately means that we can't use `-C rpath` out of the
box but hopefully the portability story here isn't too bad as
`src/librustc_back/rpath.rs` isn't *too* complicated.

Closes #32886
src/bootstrap/rustc.rs