diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules index 2163b73b06547..a2b05b7d53522 100644 --- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules +++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules @@ -562,7 +562,7 @@ endif #---------------------------------------------------------------------- ifeq "$(SWIFT_OBJC_INTEROP)" "1" ifeq "$(OS)" "Darwin" - SWIFTFLAGS += -framework Foundation -framework CoreGraphics + SWIFTFLAGS += -link-objc-runtime -framework Foundation -framework CoreGraphics LDFLAGS += -lswiftObjectiveC -lswiftFoundation -framework Foundation -framework CoreGraphics else # CFLAGS_EXTRAS is used via "dotest.py -E" to pass the -I and -L paths