1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[gn build] try to fix libxml2 include path on mac after 0ec448194e29

This commit is contained in:
Nico Weber 2021-02-18 14:40:14 -05:00
parent 55ebf0201e
commit 5d1a8a5c59
2 changed files with 5 additions and 6 deletions

View File

@ -283,11 +283,11 @@ config("compiler_defaults") {
}
cflags += [
"-isysroot",
sdk_path,
rebase_path(sdk_path, root_build_dir),
]
ldflags += [
"-isysroot",
sdk_path,
rebase_path(sdk_path, root_build_dir),
]
}
if (sysroot != "" && current_os != "win" && is_clang) {

View File

@ -25,8 +25,7 @@ if (sysroot == "") {
iossim_sdk_path = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk"
}
} else {
ios_sdk_path = rebase_path(sysroot, root_build_dir) + "/iPhoneOS.sdk"
iossim_sdk_path =
rebase_path(sysroot, root_build_dir) + "/iPhoneSimulator.sdk"
mac_sdk_path = rebase_path(sysroot, root_build_dir) + "/MacOSX.sdk"
ios_sdk_path = sysroot + "/iPhoneOS.sdk"
iossim_sdk_path = sysroot + "/iPhoneSimulator.sdk"
mac_sdk_path = sysroot + "/MacOSX.sdk"
}