From e6953d14d8e9f430e70071e23b6ad3f4f440d0de Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 25 Apr 2021 07:21:55 +0200 Subject: [PATCH] Toolchain: Update cmake platform definition This fixes building cmake and other ports which use cmake to detect whether we have -ldl. --- Toolchain/CMake/Platform/SerenityOS.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Toolchain/CMake/Platform/SerenityOS.cmake b/Toolchain/CMake/Platform/SerenityOS.cmake index 23eeccf124..38dfda3ad1 100644 --- a/Toolchain/CMake/Platform/SerenityOS.cmake +++ b/Toolchain/CMake/Platform/SerenityOS.cmake @@ -1,4 +1,4 @@ -set(CMAKE_DL_LIBS "") +set(CMAKE_DL_LIBS "-ldl") 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")