summaryrefslogtreecommitdiff
path: root/Toolchain/CMake
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-17 11:02:47 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-17 11:40:56 +0200
commit7edfe02dffeaa904585189f8ba361b3e4f89dccc (patch)
tree92f3707f0a9e29550582a9f0f10883e495355a06 /Toolchain/CMake
parent90f8bc72978936fe6badca82e37af7842c11e67e (diff)
downloadserenity-7edfe02dffeaa904585189f8ba361b3e4f89dccc.zip
Toolchain: Fix cmake definition for CMAKE_DL_LIBS
We don't have libdl (yet) so update the CMAKE_DL_LIBRARY definition to match.
Diffstat (limited to 'Toolchain/CMake')
-rw-r--r--Toolchain/CMake/Platform/SerenityOS.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Toolchain/CMake/Platform/SerenityOS.cmake b/Toolchain/CMake/Platform/SerenityOS.cmake
index ddf5c4a1ad..23eeccf124 100644
--- a/Toolchain/CMake/Platform/SerenityOS.cmake
+++ b/Toolchain/CMake/Platform/SerenityOS.cmake
@@ -1,4 +1,4 @@
-set(CMAKE_DL_LIBS "dl")
+set(CMAKE_DL_LIBS "")
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
set(CMAKE_SHARED_LIBRARY_RPATH_ORIGIN_TOKEN "\$ORIGIN")