Merge "Allow -lobjc and -framework IOKit in darwin host_ldlibs." am: 15d523b933

am: 71badcc356

Change-Id: I6f3bd338a09831d864ef0f621acca79661c1d046
This commit is contained in:
Josh Gao 2016-10-07 00:08:00 +00:00 committed by android-build-merger
commit e07febf45f
1 changed files with 13 additions and 8 deletions

View File

@ -91,14 +91,19 @@ var (
"10.11",
}
darwinAvailableLibraries = append(addPrefix([]string{
"c",
"dl",
"m",
"ncurses",
"pthread",
"z",
}, "-l"), "-framework CoreFoundation")
darwinAvailableLibraries = append(
addPrefix([]string{
"c",
"dl",
"m",
"ncurses",
"objc",
"pthread",
"z",
}, "-l"),
"-framework CoreFoundation",
"-framework IOKit",
)
)
const (