diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-25 07:21:55 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-25 10:14:50 +0200 |
commit | e6953d14d8e9f430e70071e23b6ad3f4f440d0de (patch) | |
tree | f01600507700d91833246200e697d0d5c54586ec /Toolchain | |
parent | 6a825510a05ae0ba07bb8f64a8eddb67fafdc865 (diff) | |
download | serenity-e6953d14d8e9f430e70071e23b6ad3f4f440d0de.zip |
Toolchain: Update cmake platform definition
This fixes building cmake and other ports which use cmake
to detect whether we have -ldl.
Diffstat (limited to 'Toolchain')
-rw-r--r-- | Toolchain/CMake/Platform/SerenityOS.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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") |