Skip to content

Commit 31d39fc

Browse files
authored
Merge pull request #5720 from artemcm/next_ExplicitlyAskForObjCRuntime_onSwiftC
[Cherry-Pick][LLDB Test] Add '-link-objc-runtime' to 'swiftc' invocations when ObjC interop is required by the test.
2 parents bc2b9e4 + c6e841c commit 31d39fc

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
@@ -567,7 +567,7 @@ endif
567567
#----------------------------------------------------------------------
568568
ifeq "$(SWIFT_OBJC_INTEROP)" "1"
569569
ifeq "$(OS)" "Darwin"
570-
SWIFTFLAGS += -framework Foundation -framework CoreGraphics
570+
SWIFTFLAGS += -link-objc-runtime -framework Foundation -framework CoreGraphics
571571
LDFLAGS += -lswiftObjectiveC -lswiftFoundation -framework Foundation -framework CoreGraphics
572572
else
573573
# CFLAGS_EXTRAS is used via "dotest.py -E" to pass the -I and -L paths

0 commit comments

Comments
 (0)