Skip to content

Commit

Permalink
build: use the block headers from internal copy (#1638)
Browse files Browse the repository at this point in the history
Rather than relying on the system having a copy of the blocks runtime headers,
use the headers from our local copy.
  • Loading branch information
compnerd authored and parkera committed Aug 29, 2018
1 parent 152d534 commit 7224b35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.py
Expand Up @@ -116,6 +116,7 @@
foundation.CFLAGS += " "+" ".join([
'-DDEPLOYMENT_ENABLE_LIBDISPATCH',
'-I'+Configuration.current.variables["LIBDISPATCH_SOURCE_DIR"],
'-I' + os.path.join(Configuration.current.variables["LIBDISPATCH_SOURCE_DIR"], 'src', 'BlocksRuntime'),
'-I'+Configuration.current.variables["LIBDISPATCH_BUILD_DIR"]+'/tests' # for include of dispatch/private.h in CF
])
swift_cflags += ([
Expand Down

0 comments on commit 7224b35

Please sign in to comment.