Skip to content

Commit d5a5f63

Browse files
committed
Fix macOS linker option, again
1 parent dfc790f commit d5a5f63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patches/swift/04-allow-plugging-in-observer.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ index 184e6196918..ef5c3eafe69 100644
5858
// progress.
5959
};
6060
diff --git a/lib/AST/CMakeLists.txt b/lib/AST/CMakeLists.txt
61-
index ec3fa2c853b..c4afddc4940 100644
61+
index ec3fa2c853b..7ea1a1763b9 100644
6262
--- a/lib/AST/CMakeLists.txt
6363
+++ b/lib/AST/CMakeLists.txt
6464
@@ -58,7 +58,6 @@ add_swift_host_library(swiftAST STATIC
@@ -78,7 +78,7 @@ index ec3fa2c853b..c4afddc4940 100644
7878
+ )
7979
+
8080
+if(${SWIFT_HOST_VARIANT_SDK} IN_LIST SWIFT_DARWIN_PLATFORMS)
81-
+ target_link_options(swiftIdentifier PRIVATE "-undefined dynamic_lookup")
81+
+ target_link_options(swiftIdentifier PRIVATE "LINKER:-undefined,dynamic_lookup")
8282
+endif()
8383
+
8484
if(SWIFT_FORCE_OPTIMIZED_TYPECHECKER)

0 commit comments

Comments
 (0)