mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 23:29:55 -05:00
HP-UX: Do not use ".sl" extension for shared libs on Itanium
Instead use the standard ".so" extension. Suggested-by: Gerhard Grimm <gerhard.grimm@detec.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user