Skip to content

Commit 9af36b8

Browse files
authored
Merge pull request #4458 from seabaylea/foundation-dependency
Add dependency on libdispatch from Foundation on Linux
2 parents ea1cb62 + 12b8893 commit 9af36b8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

utils/build-script

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,13 @@ class BuildScriptInvocation(object):
311311
platform.system() != "Darwin"):
312312
args.build_foundation = True
313313

314+
# Foundation has a dependency on libdispatch.
315+
# On OS X, libdispatch is provided by the OS.
316+
# On Linux, we must ensure that it is built manually.
317+
if (args.build_foundation and
318+
platform.system() != "Darwin"):
319+
args.build_libdispatch = True
320+
314321
# Propagate global --skip-build
315322
if args.skip_build:
316323
args.skip_build_linux = True

0 commit comments

Comments
 (0)