diff options
Diffstat (limited to 'cc/library.go')
-rw-r--r-- | cc/library.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/library.go b/cc/library.go index 35d0089e..7b7ac952 100644 --- a/cc/library.go +++ b/cc/library.go @@ -331,7 +331,7 @@ func (library *libraryDecorator) linkerDeps(ctx BaseModuleContext, deps Deps) De deps.SharedLibs = append(deps.SharedLibs, library.Properties.Static.Shared_libs...) } else { if ctx.toolchain().Bionic() && !Bool(library.baseLinker.Properties.Nocrt) { - if !ctx.sdk() { + if !ctx.sdk() && !ctx.vndk() { deps.CrtBegin = "crtbegin_so" deps.CrtEnd = "crtend_so" } else { |