cmGeneratorTarget: Simplify AIX shared library archive name computation

This commit is contained in:
Brad King
2024-10-10 13:18:01 -04:00
parent e12e5e0566
commit 7fb05af311

View File

@@ -3434,8 +3434,7 @@ cmGeneratorTarget::Names cmGeneratorTarget::GetLibraryNames(
} else if (this->IsArchivedAIXSharedLibrary()) {
targetNames.SharedObject =
cmStrCat(components.prefix, targetNames.Base, ".so");
targetNames.Real =
cmStrCat(components.prefix, targetNames.Base, components.suffix);
targetNames.Real = targetNames.Output;
} else {
// The library's soname.
targetNames.SharedObject = this->ComputeVersionedName(