Commit ca860463 authored by sdefresne's avatar sdefresne Committed by Commit bot

[iOS] Always pass "-ObjC" when linking iOS executables.

Chrome on iOS needs to use "-ObjC" to link all symbols from static
libraries that define at least one Objective-C category or class.
Add it to the ios_app_bundle template so that it is used by all
executables.

BUG=459705

Review-Url: https://codereview.chromium.org/2024673002
Cr-Commit-Position: refs/heads/master@{#397087}
parent 75522f44
......@@ -141,6 +141,10 @@ template("ios_app_bundle") {
libs = []
}
libs += [ "UIKit.framework" ]
if (!defined(ldflags)) {
ldflags = []
}
ldflags += [ "-ObjC" ]
}
bundle_data(_bundle_data_executable) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment