From 67f30811ce6b70717c36951650d9e62b16a14260 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 29 Jan 2020 14:49:57 -0500 Subject: AIX: Improve name of internal symbol export list file --- Modules/Platform/AIX-GNU.cmake | 4 ++-- Modules/Platform/AIX-XL.cmake | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/Platform/AIX-GNU.cmake b/Modules/Platform/AIX-GNU.cmake index 61d213a..42e5e36 100644 --- a/Modules/Platform/AIX-GNU.cmake +++ b/Modules/Platform/AIX-GNU.cmake @@ -23,8 +23,8 @@ macro(__aix_compiler_gnu lang) # Construct the export list ourselves to pass only the object files so # that we export only the symbols actually provided by the sources. set(CMAKE_${lang}_CREATE_SHARED_LIBRARY - "\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o /objects.exp " - " -Wl,-bE:/objects.exp -o " + "\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o /exports.exp " + " -Wl,-bE:/exports.exp -o " ) set(CMAKE_${lang}_LINK_EXECUTABLE_WITH_EXPORTS diff --git a/Modules/Platform/AIX-XL.cmake b/Modules/Platform/AIX-XL.cmake index 2a67c4f..edaedb4 100644 --- a/Modules/Platform/AIX-XL.cmake +++ b/Modules/Platform/AIX-XL.cmake @@ -29,8 +29,8 @@ macro(__aix_compiler_xl lang) # Construct the export list ourselves to pass only the object files so # that we export only the symbols actually provided by the sources. set(CMAKE_${lang}_CREATE_SHARED_LIBRARY - "\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o /objects.exp${_OBJECTS}" - " -Wl,-bE:/objects.exp -o " + "\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o /exports.exp${_OBJECTS}" + " -Wl,-bE:/exports.exp -o " ) set(CMAKE_${lang}_LINK_EXECUTABLE_WITH_EXPORTS -- cgit v0.12