diff options
author | Brad King <brad.king@kitware.com> | 2019-07-17 13:15:56 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-07-17 13:16:07 (GMT) |
commit | 44a6468304ad7b2e7d7b9e9b43bc04588f0ab918 (patch) | |
tree | 9369ac7e89bc5176f922e5be5464a3e5ef7b7762 /Modules/Platform/AIX-XL.cmake | |
parent | 74ad28fa6a05d033eb99db949eb095fc192c34ad (diff) | |
parent | 2fa920c0cd5c186d0991c9636c9af6691ead8dce (diff) | |
download | CMake-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.cmake | 4 |
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() |