Add libc and libm to modules that use libc++_static
Matches makefile change Ib21364e6f43689cf59da31d6f561919731ef8272 Change-Id: I6b4f3fcc65e5cac190bf9da315bd9d81e4c7cd3d
This commit is contained in:
parent
12fc4977bf
commit
3d92b27717
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ func (stl *stl) deps(ctx BaseModuleContext, deps Deps) Deps {
|
|||
deps.StaticLibs = append(deps.StaticLibs, "libunwind_llvm")
|
||||
}
|
||||
if ctx.staticBinary() {
|
||||
deps.StaticLibs = append(deps.StaticLibs, "libdl")
|
||||
deps.StaticLibs = append(deps.StaticLibs, "libm", "libc", "libdl")
|
||||
} else {
|
||||
deps.SharedLibs = append(deps.SharedLibs, "libdl")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue