summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-08-14 12:39:51 +0200
committerLinus Groh <mail@linusgroh.de>2022-09-05 10:12:02 +0100
commit8778bb347312c0b0691a6c84d82ef23879c709fd (patch)
tree1e4157efd9b01a33ccdc8d612b40245cc51453fa /Userland/Libraries/LibC
parent226608a48fe4a32c8a8d216cc080718f668249d7 (diff)
downloadserenity-8778bb347312c0b0691a6c84d82ef23879c709fd.zip
Everywhere: Fully remove the separate LibDl directory
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r--Userland/Libraries/LibC/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/CMakeLists.txt b/Userland/Libraries/LibC/CMakeLists.txt
index 88906337b3..58e1fb760d 100644
--- a/Userland/Libraries/LibC/CMakeLists.txt
+++ b/Userland/Libraries/LibC/CMakeLists.txt
@@ -182,3 +182,8 @@ add_dependencies(LibC LibM LibSystem LibCStatic)
# Provide a linker script instead of LibPthread that tells everything to link against LibC.
file(WRITE "${CMAKE_STAGING_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libpthread.so" "INPUT(libc.so)")
+
+# Provide a dummy target and a linker script for LibDl that tells everything to link against LibC instead.
+add_library(LibDl INTERFACE)
+target_link_libraries(LibDl INTERFACE LibC)
+file(WRITE "${CMAKE_STAGING_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libdl.so" "INPUT(libc.so)")