summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-03 19:08:30 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-03 19:08:30 (GMT)
commitd2b108150f5549e7012609bc4a48f34a1b963654 (patch)
tree53918a1bf02a8951bf20a5d830965883785e1a84 /Modules
parent1d3320f1268bc147d32368489c9ee5cc22047dec (diff)
downloadCMake-d2b108150f5549e7012609bc4a48f34a1b963654.zip
CMake-d2b108150f5549e7012609bc4a48f34a1b963654.tar.gz
CMake-d2b108150f5549e7012609bc4a48f34a1b963654.tar.bz2
BUG: Recognize .so shared libraries on HP-UX
HP-UX uses both .sl and .so as extensions for shared libraries. This teaches CMake to recognize .so shared libraries so they are treated properly during link dependency analysis.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/HP-UX.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/HP-UX.cmake b/Modules/Platform/HP-UX.cmake
index 381ef39..9191cef 100644
--- a/Modules/Platform/HP-UX.cmake
+++ b/Modules/Platform/HP-UX.cmake
@@ -1,6 +1,7 @@
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".sl") # .so
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