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", "10.11",
} }
darwinAvailableLibraries = append(addPrefix([]string{ darwinAvailableLibraries = append(
"c", addPrefix([]string{
"dl", "c",
"m", "dl",
"ncurses", "m",
"pthread", "ncurses",
"z", "objc",
}, "-l"), "-framework CoreFoundation") "pthread",
"z",
}, "-l"),
"-framework CoreFoundation",
"-framework IOKit",
)
) )
const ( const (