]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #12651 : lucab/rust/llvmdep-ldflags, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 2 Mar 2014 19:21:34 +0000 (11:21 -0800)
committerbors <bors@rust-lang.org>
Sun, 2 Mar 2014 19:21:34 +0000 (11:21 -0800)
This commit let librustc automatically pickup LDFLAGS dependencies
inherited from LLVM, which may otherwise result in undefined
references to external symbols under certain linking environment.

A symptom of this issue is eg. a failure when trying to link against
librustc (due to unresolved ffi_* symbols), while using a system-wide
LLVM.

Signed-off-by: Luca Bruno <lucab@debian.org>

Trivial merge