Handle partial link of a single object with a linker script.
am: ab65ba9481
Change-Id: I9fc8d4cd562e365e2cf201ee085fee5cc10b631c
This commit is contained in:
commit
89c1d5ff71
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ func (object *objectLinker) link(ctx ModuleContext,
|
|||
var outputFile android.Path
|
||||
builderFlags := flagsToBuilderFlags(flags)
|
||||
|
||||
if len(objs.objFiles) == 1 {
|
||||
if len(objs.objFiles) == 1 && String(object.Properties.Linker_script) == "" {
|
||||
outputFile = objs.objFiles[0]
|
||||
|
||||
if String(object.Properties.Prefix_symbols) != "" {
|
||||
|
|
Loading…
Reference in a new issue