Skip to content

Commit a7fa38f

Browse files
authored
[SR-11164] Use the toolchain's Block.h
1 parent 97de184 commit a7fa38f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Utilities/build-script-helper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ def get_swiftpm_options(args):
2828
# Dispatch headers
2929
'-Xcxx', '-I', '-Xcxx',
3030
os.path.join(args.toolchain, 'usr', 'lib', 'swift'),
31+
# For <Block.h>
32+
'-Xcxx', '-I', '-Xcxx',
33+
os.path.join(args.toolchain, 'usr', 'lib', 'swift', 'Block'),
3134
]
3235

3336
return swiftpm_args

0 commit comments

Comments
 (0)