forked from OSchip/llvm-project
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:
parent
8018780d39
commit
631a0bb924
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue