summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-08-14 12:44:35 +0200
committerLinus Groh <mail@linusgroh.de>2022-09-05 10:12:02 +0100
commitda0e28dccc7f6ba66ba95f3f1ada4a9a5e87b2ab (patch)
tree796e33a3b262ee502fec592a302a4a618d37a5f0 /Userland/Libraries/LibC
parent8778bb347312c0b0691a6c84d82ef23879c709fd (diff)
downloadserenity-da0e28dccc7f6ba66ba95f3f1ada4a9a5e87b2ab.zip
LibC: Remove the `LibDl` interface target
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r--Userland/Libraries/LibC/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/Userland/Libraries/LibC/CMakeLists.txt b/Userland/Libraries/LibC/CMakeLists.txt
index 58e1fb760d..1715956920 100644
--- a/Userland/Libraries/LibC/CMakeLists.txt
+++ b/Userland/Libraries/LibC/CMakeLists.txt
@@ -180,10 +180,6 @@ target_link_libraries(LibC ssp system LibTimeZone)
# We mark LibCStatic as a dependency of LibC because this triggers the build of the LibCStatic target
add_dependencies(LibC LibM LibSystem LibCStatic)
-# Provide a linker script instead of LibPthread that tells everything to link against LibC.
+# Provide a linker script instead of various other libraries 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)")