|
|
@@ -3592,6 +3592,12 @@ struct TargetFilesystemArtifactResultCreator<ArtifactSonameTag>
|
|
|
"SHARED libraries.");
|
|
|
return std::string();
|
|
|
}
|
|
|
+ if (target->IsArchivedAIXSharedLibrary()) {
|
|
|
+ ::reportError(context, content->GetOriginalExpression(),
|
|
|
+ "TARGET_SONAME_FILE is not allowed for "
|
|
|
+ "AIX_SHARED_LIBRARY_ARCHIVE libraries.");
|
|
|
+ return std::string();
|
|
|
+ }
|
|
|
std::string result = cmStrCat(target->GetDirectory(context->Config), '/',
|
|
|
target->GetSOName(context->Config));
|
|
|
return result;
|
|
|
@@ -3618,6 +3624,12 @@ struct TargetFilesystemArtifactResultCreator<ArtifactSonameImportTag>
|
|
|
"SHARED libraries.");
|
|
|
return std::string();
|
|
|
}
|
|
|
+ if (target->IsArchivedAIXSharedLibrary()) {
|
|
|
+ ::reportError(context, content->GetOriginalExpression(),
|
|
|
+ "TARGET_SONAME_IMPORT_FILE is not allowed for "
|
|
|
+ "AIX_SHARED_LIBRARY_ARCHIVE libraries.");
|
|
|
+ return std::string();
|
|
|
+ }
|
|
|
|
|
|
if (target->HasImportLibrary(context->Config)) {
|
|
|
return cmStrCat(target->GetDirectory(
|