mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-09 10:00:12 -05:00
Merge topic 'patch-AIX-CMAKE_DL_LIBS'
0622cb343e AIX: Drop unnecessary -l from CMAKE_DL_LIBS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10954
This commit is contained in:
@@ -10,7 +10,7 @@ Few examples of the values this variable is set to:
|
||||
On most Unix-like systems.
|
||||
|
||||
``-lld``
|
||||
On AIX.
|
||||
On AIX, prior to CMake 4.2.
|
||||
|
||||
``dld``
|
||||
On HP-UX.
|
||||
|
||||
@@ -3,7 +3,7 @@ set(CMAKE_SHARED_LIBRARY_SUFFIX ".so") # .so
|
||||
set(CMAKE_SHARED_LIBRARY_ARCHIVE_SUFFIX ".a") # .a
|
||||
set(CMAKE_AIX_IMPORT_FILE_PREFIX "")
|
||||
set(CMAKE_AIX_IMPORT_FILE_SUFFIX ".imp")
|
||||
set(CMAKE_DL_LIBS "-lld")
|
||||
set(CMAKE_DL_LIBS "ld")
|
||||
|
||||
# RPATH support on AIX is called libpath. By default the runtime
|
||||
# libpath is paths specified by -L followed by /usr/lib and /lib. In
|
||||
|
||||
Reference in New Issue
Block a user