summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/AIX-XL.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-17 13:15:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-07-17 13:16:07 (GMT)
commit44a6468304ad7b2e7d7b9e9b43bc04588f0ab918 (patch)
tree9369ac7e89bc5176f922e5be5464a3e5ef7b7762 /Modules/Platform/AIX-XL.cmake
parent74ad28fa6a05d033eb99db949eb095fc192c34ad (diff)
parent2fa920c0cd5c186d0991c9636c9af6691ead8dce (diff)
downloadCMake-44a6468304ad7b2e7d7b9e9b43bc04588f0ab918.zip
CMake-44a6468304ad7b2e7d7b9e9b43bc04588f0ab918.tar.gz
CMake-44a6468304ad7b2e7d7b9e9b43bc04588f0ab918.tar.bz2
Merge topic 'aix-exe-implib'
2fa920c0cd AIX: Create import library for executables with exports Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3561
Diffstat (limited to 'Modules/Platform/AIX-XL.cmake')
-rw-r--r--Modules/Platform/AIX-XL.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/AIX-XL.cmake b/Modules/Platform/AIX-XL.cmake
index 52292bd..3424e2c 100644
--- a/Modules/Platform/AIX-XL.cmake
+++ b/Modules/Platform/AIX-XL.cmake
@@ -32,6 +32,6 @@ macro(__aix_compiler_xl lang)
)
set(CMAKE_${lang}_LINK_EXECUTABLE_WITH_EXPORTS
- "\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o <OBJECT_DIR>/objects.exp <OBJECTS>"
- "<CMAKE_${lang}_COMPILER> <FLAGS> <CMAKE_${lang}_LINK_FLAGS> -Wl,-bE:<OBJECT_DIR>/objects.exp <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
+ "\"${CMAKE_ROOT}/Modules/Platform/AIX/ExportImportList\" -o <TARGET_IMPLIB> -l . <OBJECTS>"
+ "<CMAKE_${lang}_COMPILER> <FLAGS> <CMAKE_${lang}_LINK_FLAGS> -Wl,-bE:<TARGET_IMPLIB> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
endmacro()