Merge \\\"Add more allowed ldlibs for darwin and windows\\\" am: ff3a2e4d55 am: 316489ffff

am: a956c47e4e

Change-Id: If805ba8c27a43e3df35667e78d2095fe0cc18ffc
This commit is contained in:
Dan Willemsen
2016-07-20 21:32:55 +00:00
committed by android-build-merger
2 changed files with 15 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ var (
"c",
"dl",
"m",
"ncurses",
"pthread",
"z",
}, "-l")

View File

@@ -76,6 +76,16 @@ var (
"-m64",
"-L${windowsGccRoot}/${windowsGccTriple}/lib64",
}
windowsAvailableLibraries = addPrefix([]string{
"gdi32",
"imagehlp",
"ole32",
"psapi",
"userenv",
"uuid",
"ws2_32",
}, "-l")
)
const (
@@ -187,6 +197,10 @@ func (t *toolchainWindows) ExecutableSuffix() string {
return ".exe"
}
func (t *toolchainWindows) AvailableLibraries() []string {
return windowsAvailableLibraries
}
var toolchainWindowsX86Singleton Toolchain = &toolchainWindowsX86{}
var toolchainWindowsX8664Singleton Toolchain = &toolchainWindowsX8664{}