From 7fb05af311f8f49a36ecd3bd5ead19de845cf7b3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 10 Oct 2024 13:18:01 -0400 Subject: [PATCH] cmGeneratorTarget: Simplify AIX shared library archive name computation --- Source/cmGeneratorTarget.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index b99f01fc4b..8bac4a1365 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -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(