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:
Brad King
2025-07-22 15:54:04 +00:00
committed by Kitware Robot
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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