diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-10-14 17:18:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-17 14:13:47 (GMT) |
commit | 4fa0d157bc43e5cef2db800099fc9bb3b7e10b76 (patch) | |
tree | db4b7e9094de216dc8a2617e8a6996b9081be430 | |
parent | 787fc8caa8c46b7c29e05c9b367f8e85665845d4 (diff) | |
download | CMake-4fa0d157bc43e5cef2db800099fc9bb3b7e10b76.zip CMake-4fa0d157bc43e5cef2db800099fc9bb3b7e10b76.tar.gz CMake-4fa0d157bc43e5cef2db800099fc9bb3b7e10b76.tar.bz2 |
SerenityOS: Unset CMAKE_DL_LIBS because LibDl no longer exists
Serenity's LibDl was merged into LibC to simplify the build and port
infrastructure [1]. Set `CMAKE_DL_LIBS` to the empty string to match
what other platforms do. Update the platform module added by
commit 45ca894164 (SerenityOS: Add Platform module, 2022-01-02,
v3.25.0-rc1~635^2).
[1] https://github.com/SerenityOS/serenity/pull/14854
Issue: #23589
-rw-r--r-- | Modules/Platform/SerenityOS.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/SerenityOS.cmake b/Modules/Platform/SerenityOS.cmake index 541620c..dc4f369 100644 --- a/Modules/Platform/SerenityOS.cmake +++ b/Modules/Platform/SerenityOS.cmake @@ -1,7 +1,7 @@ set(SERENITYOS 1) -set(CMAKE_DL_LIBS "-ldl") +set(CMAKE_DL_LIBS "") set(CMAKE_SHARED_LIBRARY_RPATH_ORIGIN_TOKEN "\$ORIGIN") set(CMAKE_SHARED_LIBRARY_SUFFIX ".so") |