Merge "Allow -lobjc and -framework IOKit in darwin host_ldlibs."

This commit is contained in:
Josh Gao
2016-10-06 23:59:58 +00:00
committed by Gerrit Code Review

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 (