We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a55a7d commit d35b428Copy full SHA for d35b428
Tests/Functional/lit.cfg
@@ -73,6 +73,9 @@ else:
73
# We need to jump through extra hoops to link swift-corelibs-foundation.
74
foundation_dir = _getenv('FOUNDATION_BUILT_PRODUCTS_DIR')
75
if platform.system() == 'Windows':
76
+ sdkroot = os.getenv('SDKROOT', None)
77
+ if sdkroot:
78
+ swift_exec.extend(['-sdk', sdkroot])
79
swift_exec.extend(['-Xlinker', '-nodefaultlib:libcmt'])
80
else:
81
swift_exec.extend([
0 commit comments