Index: build/config/ios/rules.gni |
diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni |
index 2ca42d829bc8e4b440f3eea3fdead624c06d723d..3e2b4f4ce15a664e5fe3277f9cca31f2f91d2d23 100644 |
--- a/build/config/ios/rules.gni |
+++ b/build/config/ios/rules.gni |
@@ -141,6 +141,10 @@ template("ios_app_bundle") { |
libs = [] |
} |
libs += [ "UIKit.framework" ] |
+ if (!defined(ldflags)) { |
+ ldflags = [] |
+ } |
+ ldflags += [ "-ObjC" ] |
} |
bundle_data(_bundle_data_executable) { |