diff --git a/cc/builder.go b/cc/builder.go index 29cde9d2c..51c8a0bdf 100644 --- a/cc/builder.go +++ b/cc/builder.go @@ -804,6 +804,7 @@ func transformObjToDynamicBinary(ctx android.ModuleContext, ImplicitOutputs: implicitOutputs, Inputs: objFiles, Implicits: deps, + OrderOnly: sharedLibs, Args: args, }) }