Use toolchain to get binary extension for symlinks
am: 989c66e370
Change-Id: Ic1f4864862fc5a03eb5805cee1c5e94eef0423a2
This commit is contained in:
commit
5ecfc07284
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ func (binary *binaryDecorator) install(ctx ModuleContext, file android.Path) {
|
|||
binary.baseInstaller.install(ctx, file)
|
||||
for _, symlink := range binary.Properties.Symlinks {
|
||||
binary.symlinks = append(binary.symlinks,
|
||||
symlink+binary.Properties.Suffix+binary.baseInstaller.path.Ext())
|
||||
symlink+binary.Properties.Suffix+ctx.toolchain().ExecutableSuffix())
|
||||
}
|
||||
|
||||
if binary.Properties.Symlink_preferred_arch {
|
||||
|
|
Loading…
Reference in a new issue