Respect ranlib specified for target during LLVM build
The ranlib specified for the target was never actually transferred into the builder configuration. In the dist-x86_64-linux build we ended up using ranlib instead of llvm-ranlib.
This commit is contained in:
parent
461e807801
commit
dcc3554c62
1 changed files with 4 additions and 0 deletions
|
@ -149,6 +149,10 @@ pub fn find(build: &mut Build) {
|
||||||
build.verbose(&format!("AR_{} = {:?}", &target.triple, ar));
|
build.verbose(&format!("AR_{} = {:?}", &target.triple, ar));
|
||||||
build.ar.insert(target, ar);
|
build.ar.insert(target, ar);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if let Some(ranlib) = config.and_then(|c| c.ranlib.clone()) {
|
||||||
|
build.ranlib.insert(target, ranlib);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue