mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
[gn build] try to fix libxml2 include path on mac after 0ec448194e29
This commit is contained in:
parent
55ebf0201e
commit
5d1a8a5c59
@ -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) {
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user