Add more whitelisted host libraries

Add AppKit, Foundation and Security to darwin for libchrome.

Add -lm and -lversion to windows for llvm.

Test: m -j libLLVMObject
Change-Id: Ie5c922d3fbb41fba1de5f1ce9e530683bf411c5a
This commit is contained in:
Colin Cross
2016-11-21 17:31:08 -08:00
parent 2e47b34435
commit 124fd9afbd
2 changed files with 4 additions and 0 deletions

View File

@@ -100,8 +100,11 @@ var (
"pthread", "pthread",
"z", "z",
}, "-l"), }, "-l"),
"-framework AppKit",
"-framework CoreFoundation", "-framework CoreFoundation",
"-framework Foundation",
"-framework IOKit", "-framework IOKit",
"-framework Security",
) )
) )

View File

@@ -85,6 +85,7 @@ var (
"pthread", "pthread",
"userenv", "userenv",
"uuid", "uuid",
"version",
"ws2_32", "ws2_32",
}, "-l") }, "-l")
) )