1
Fork 0

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:
Nikita Popov 2022-04-15 16:51:09 +02:00
parent 461e807801
commit dcc3554c62

View file

@ -149,6 +149,10 @@ pub fn find(build: &mut Build) {
build.verbose(&format!("AR_{} = {:?}", &target.triple, ar));
build.ar.insert(target, ar);
}
if let Some(ranlib) = config.and_then(|c| c.ranlib.clone()) {
build.ranlib.insert(target, ranlib);
}
}
}