Provide -isysroot with sdkroot for ios builds
Necessary for the new XCode?
This commit is contained in:
parent
9fe5cb5342
commit
313a9c7090
@ -74,6 +74,8 @@ fn build_pre_link_args(arch: Arch) -> Result<LinkArgs, String> {
|
||||
args.insert(LinkerFlavor::Gcc,
|
||||
vec!["-arch".to_string(),
|
||||
arch_name.to_string(),
|
||||
"-isysroot".to_string(),
|
||||
sdk_root.clone(),
|
||||
"-Wl,-syslibroot".to_string(),
|
||||
sdk_root]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user