Use toolchain to get binary extension for symlinks
Get the binary extension directly from the toolchain instead of computing it from the target. Test: mmma -j external/clang Change-Id: Ib181bc60d0617ad50529791e7b9fc61268376819
This commit is contained in:
parent
9b09f248d8
commit
989c66e370
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)
|
binary.baseInstaller.install(ctx, file)
|
||||||
for _, symlink := range binary.Properties.Symlinks {
|
for _, symlink := range binary.Properties.Symlinks {
|
||||||
binary.symlinks = append(binary.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 {
|
if binary.Properties.Symlink_preferred_arch {
|
||||||
|
|
Loading…
Reference in a new issue