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

am: e07febf45f

Change-Id: Ia78a9b2bfff301ecfa1d4c6bf14855e9a8bfd9bd
This commit is contained in:
Josh Gao 2016-10-07 00:11:30 +00:00 committed by android-build-merger
commit 3bf3039c90
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 (