Index: build/config/mac/BUILD.gn |
diff --git a/build/config/mac/BUILD.gn b/build/config/mac/BUILD.gn |
index 132e12ce413193caf63f6f9b790413d3ae5e6372..582564176a223721793ad10663e1177bffe95700 100644 |
--- a/build/config/mac/BUILD.gn |
+++ b/build/config/mac/BUILD.gn |
@@ -19,6 +19,9 @@ config("mac_dynamic_flags") { |
"-Wl,-search_paths_first", |
"-L.", |
+ # Forces shared libraries to search for undefined symbols. |
+ "-undefined", "dynamic_lookup", |
+ |
# Path for loading shared libraries for unbundled binaries. |
"-Wl,-rpath,@loader_path/.", |