Skip to content

Commit c6223d5

Browse files
authored
Merge pull request #5629 from artemcm/ExplicitlyAskForObjCRuntime_onSwiftC
[LLDB Test] Add '-link-objc-runtime' to 'swiftc' invocations when ObjC interop is required by the test.
2 parents d00fb41 + 245aa79 commit c6223d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/packages/Python/lldbsuite/test/make/Makefile.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ endif
527527
#----------------------------------------------------------------------
528528
ifeq "$(SWIFT_OBJC_INTEROP)" "1"
529529
ifeq "$(OS)" "Darwin"
530-
SWIFTFLAGS += -framework Foundation -framework CoreGraphics
530+
SWIFTFLAGS += -link-objc-runtime -framework Foundation -framework CoreGraphics
531531
LDFLAGS += -lswiftObjectiveC -lswiftFoundation -framework Foundation -framework CoreGraphics
532532
else
533533
# CFLAGS_EXTRAS is used via "dotest.py -E" to pass the -I and -L paths

0 commit comments

Comments
 (0)