Use toolchain to get binary extension for symlinks am: 989c66e370

am: 5ecfc07284

Change-Id: I58b7687ac595d152e654126406856a77cd11908d
This commit is contained in:
Colin Cross 2016-12-08 23:52:03 +00:00 committed by android-build-merger
commit 9060fccad8

View file

@ -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 {