Skip to content

Commit 7224b35

Browse files
compnerdparkera
authored andcommitted
build: use the block headers from internal copy (#1638)
Rather than relying on the system having a copy of the blocks runtime headers, use the headers from our local copy.
1 parent 152d534 commit 7224b35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
foundation.CFLAGS += " "+" ".join([
117117
'-DDEPLOYMENT_ENABLE_LIBDISPATCH',
118118
'-I'+Configuration.current.variables["LIBDISPATCH_SOURCE_DIR"],
119+
'-I' + os.path.join(Configuration.current.variables["LIBDISPATCH_SOURCE_DIR"], 'src', 'BlocksRuntime'),
119120
'-I'+Configuration.current.variables["LIBDISPATCH_BUILD_DIR"]+'/tests' # for include of dispatch/private.h in CF
120121
])
121122
swift_cflags += ([

0 commit comments

Comments
 (0)