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:
parent
f09c8437f9
commit
3923e84a49
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue