summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-21 13:28:55 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-08-21 13:28:55 (GMT)
commitf9865743ed942b1932d664d136a4ad505b724bf6 (patch)
treeaa5985e0b415d0210e46fc94013db30958a6c93a /Modules/Platform
parent4ae9362b5be154781543b9255e06366a528db359 (diff)
parent625225bbe6a84350759d7116a6cd5ad2f850e635 (diff)
downloadCMake-f9865743ed942b1932d664d136a4ad505b724bf6.zip
CMake-f9865743ed942b1932d664d136a4ad505b724bf6.tar.gz
CMake-f9865743ed942b1932d664d136a4ad505b724bf6.tar.bz2
Merge topic 'hp-ux-itanium-shared-libs'
625225bb HP-UX: Do not use ".sl" extension for shared libs on Itanium
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/HP-UX.cmake8
1 files changed, 5 insertions, 3 deletions
diff --git a/Modules/Platform/HP-UX.cmake b/Modules/Platform/HP-UX.cmake
index 581301b..88932ad 100644
--- a/Modules/Platform/HP-UX.cmake
+++ b/Modules/Platform/HP-UX.cmake
@@ -1,9 +1,11 @@
set(CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH /usr/lib)
-set(CMAKE_SHARED_LIBRARY_SUFFIX ".sl") # .so
+if(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "ia64")
+ set(CMAKE_SHARED_LIBRARY_SUFFIX ".sl") # .so
+ set(CMAKE_FIND_LIBRARY_SUFFIXES ".sl" ".so" ".a")
+ set(CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES ".so")
+endif()
set(CMAKE_DL_LIBS "dld")
-set(CMAKE_FIND_LIBRARY_SUFFIXES ".sl" ".so" ".a")
-set(CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES ".so")
# The HP linker needs to find transitive shared library dependencies
# in the -L path. Therefore the runtime path must be added to the