Skip to content

Commit 1d0f8d7

Browse files
author
Ross Bayer
committed
[Build System: build-script] Update the DarwinPlatform.is_embedded method to account for macCatalyst.
1 parent ab99ae2 commit 1d0f8d7

File tree

1 file changed

+1
-1
lines changed
  • utils/swift_build_support/swift_build_support

1 file changed

+1
-1
lines changed

utils/swift_build_support/swift_build_support/targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, name, archs, sdk_name=None, is_simulator=False):
7070
@property
7171
def is_embedded(self):
7272
"""Check if this is a Darwin platform for embedded devices."""
73-
return self.name != "macosx"
73+
return self.name != "macosx" and self.name != "maccatalyst"
7474

7575
@property
7676
def supports_benchmark(self):

0 commit comments

Comments
 (0)