diff options
| -rw-r--r-- | cc/ndk_library.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/ndk_library.go b/cc/ndk_library.go index 49a919eea..d704e32f6 100644 --- a/cc/ndk_library.go +++ b/cc/ndk_library.go @@ -307,6 +307,7 @@ func (this *stubDecorator) findImplementationLibrary(ctx ModuleContext) android. impl, ok := dep.(*Module) if !ok { ctx.ModuleErrorf("Implementation for stub is not correct module type") + return nil } output := impl.UnstrippedOutputFile() if output == nil { |