find the python headers when buiding crashinfo.c
<rdar://problem/
32288076>
llvm-svn: 303465
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):