Allow -lobjc and -framework IOKit in darwin host_ldlibs.

Bug: http://b/31321337
Test: mma of external/libusb on darwin
Change-Id: I1023a2a7ff1fdf809ac47104bca7b4171861abef
This commit is contained in:
Josh Gao 2016-09-29 14:22:54 -07:00
parent f09c8437f9
commit 3923e84a49
1 changed files with 13 additions and 8 deletions

View File

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