summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/AIX-GNU.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-29 19:49:57 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-31 14:28:07 (GMT)
commit67f30811ce6b70717c36951650d9e62b16a14260 (patch)
tree09a4f94e38aebd4bc6c8d038f46fe3f16535e7a4 /Modules/Platform/AIX-GNU.cmake
parent0ffd54f0947967166fbaf2b92743fb40df96f0b3 (diff)
downloadCMake-67f30811ce6b70717c36951650d9e62b16a14260.zip
CMake-67f30811ce6b70717c36951650d9e62b16a14260.tar.gz
CMake-67f30811ce6b70717c36951650d9e62b16a14260.tar.bz2
AIX: Improve name of internal symbol export list file
Diffstat (limited to 'Modules/Platform/AIX-GNU.cmake')
-rw-r--r--Modules/Platform/AIX-GNU.cmake4
1 files changed, 2 insertions, 2 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 <OBJECT_DIR>/objects.exp <OBJECTS>"
- "<CMAKE_${lang}_COMPILER> <CMAKE_SHARED_LIBRARY_${lang}_FLAGS> -Wl,-bE:<OBJECT_DIR>/objects.exp <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS> <SONAME_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>"
+ "\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o <OBJECT_DIR>/exports.exp <OBJECTS>"
+ "<CMAKE_${lang}_COMPILER> <CMAKE_SHARED_LIBRARY_${lang}_FLAGS> -Wl,-bE:<OBJECT_DIR>/exports.exp <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS> <SONAME_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>"
)
set(CMAKE_${lang}_LINK_EXECUTABLE_WITH_EXPORTS