mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
AIX: Improve name of internal symbol export list file
This commit is contained in:
@@ -23,8 +23,8 @@ macro(__aix_compiler_gnu lang)
|
|||||||
# Construct the export list ourselves to pass only the object files so
|
# Construct the export list ourselves to pass only the object files so
|
||||||
# that we export only the symbols actually provided by the sources.
|
# that we export only the symbols actually provided by the sources.
|
||||||
set(CMAKE_${lang}_CREATE_SHARED_LIBRARY
|
set(CMAKE_${lang}_CREATE_SHARED_LIBRARY
|
||||||
"\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o <OBJECT_DIR>/objects.exp <OBJECTS>"
|
"\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o <OBJECT_DIR>/exports.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_${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
|
set(CMAKE_${lang}_LINK_EXECUTABLE_WITH_EXPORTS
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ macro(__aix_compiler_xl lang)
|
|||||||
# Construct the export list ourselves to pass only the object files so
|
# Construct the export list ourselves to pass only the object files so
|
||||||
# that we export only the symbols actually provided by the sources.
|
# that we export only the symbols actually provided by the sources.
|
||||||
set(CMAKE_${lang}_CREATE_SHARED_LIBRARY
|
set(CMAKE_${lang}_CREATE_SHARED_LIBRARY
|
||||||
"\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o <OBJECT_DIR>/objects.exp${_OBJECTS}"
|
"\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o <OBJECT_DIR>/exports.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_${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
|
set(CMAKE_${lang}_LINK_EXECUTABLE_WITH_EXPORTS
|
||||||
|
|||||||
Reference in New Issue
Block a user