Switch libcompiler_rt-extras to LateStaticLibs.
am: bb7473dd1a
Change-Id: Iff98d0bf58cfb71e42cc39ee656defa9fdfe69cd
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -1337,7 +1337,7 @@ func (linker *baseLinker) deps(ctx BaseModuleContext, deps Deps) Deps {
|
|||||||
deps.ReexportSharedLibHeaders = append(deps.ReexportSharedLibHeaders, linker.Properties.Export_shared_lib_headers...)
|
deps.ReexportSharedLibHeaders = append(deps.ReexportSharedLibHeaders, linker.Properties.Export_shared_lib_headers...)
|
||||||
|
|
||||||
if !ctx.sdk() && ctx.ModuleName() != "libcompiler_rt-extras" {
|
if !ctx.sdk() && ctx.ModuleName() != "libcompiler_rt-extras" {
|
||||||
deps.StaticLibs = append(deps.StaticLibs, "libcompiler_rt-extras")
|
deps.LateStaticLibs = append(deps.LateStaticLibs, "libcompiler_rt-extras")
|
||||||
}
|
}
|
||||||
|
|
||||||
if ctx.Device() {
|
if ctx.Device() {
|
||||||
|
Reference in New Issue
Block a user