Don't override the SDKs and force the use of /System/Library/Frameworks to
authorJason Molenda <jmolenda@apple.com>
Fri, 19 May 2017 23:00:42 +0000 (23:00 +0000)
committerJason Molenda <jmolenda@apple.com>
Fri, 19 May 2017 23:00:42 +0000 (23:00 +0000)
find the python headers when buiding crashinfo.c
<rdar://problem/32288076>

llvm-svn: 303465

lldb/packages/Python/lldbsuite/test/configuration.py

index 120f824..a49948c 100644 (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):