We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c2d186a + aeab73c commit cff81daCopy full SHA for cff81da
src/librustc_llvm/build.rs
@@ -217,6 +217,9 @@ fn main() {
217
// hack around this by replacing the host triple with the target and pray
218
// that those -L directories are the same!
219
let mut cmd = Command::new(&llvm_config);
220
+ if let Some(link_arg) = llvm_link_arg {
221
+ cmd.arg(link_arg);
222
+ }
223
cmd.arg("--ldflags");
224
for lib in output(&mut cmd).split_whitespace() {
225
if lib.starts_with("-LIBPATH:") {
0 commit comments