Don't override the SDKs and force the use of /System/Library/Frameworks to

find the python headers when buiding crashinfo.c
<rdar://problem/32288076> 

llvm-svn: 303465
This commit is contained in:
Jason Molenda 2017-05-19 23:00:42 +00:00
parent 8018780d39
commit 631a0bb924
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def setupCrashInfoHook():
if not os.path.isfile(dylib_dst) or os.path.getmtime(
dylib_dst) < os.path.getmtime(dylib_src):
# we need to compile
cmd = "SDKROOT= xcrun clang %s -o %s -framework Python -Xlinker -dylib -iframework /System/Library/Frameworks/ -Xlinker -F /System/Library/Frameworks/" % (
cmd = "SDKROOT= xcrun clang %s -o %s -framework Python -Xlinker -dylib" % (
dylib_src, dylib_dst)
if subprocess.call(
cmd, shell=True) != 0 or not os.path.isfile(dylib_dst):