]> git.lizzy.rs Git - rust.git/commit
mk: Fix rpath on cross compile builds
authorAlex Crichton <alex@alexcrichton.com>
Fri, 11 Apr 2014 17:52:01 +0000 (10:52 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 11 Apr 2014 18:16:10 +0000 (11:16 -0700)
commitc60d9ad57c1d409a0737838eefe82da0eeb9a9ec
treea3e9dc859574bd06198d81063742e5b1b8cc3a7e
parent65abf96fb6630d7ddbcdc3b39f599c02ecfc2f1e
mk: Fix rpath on cross compile builds

After removing absolute rpaths, cross compile builds (notably the nightly
builders) broke. This is because the RPATH was pointing at an empty directory
because only the rustc binary is copied over, not all of the target libraries.
This modifies the cross compile logic to fixup the rpath of the stage0
cross-compiled rustc to point to where it came from.
mk/main.mk