1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:37:47 +00:00

Everywhere: Fully remove the separate LibDl directory

This commit is contained in:
Tim Schumacher 2022-08-14 12:39:51 +02:00 committed by Linus Groh
parent 226608a48f
commit 8778bb3473
5 changed files with 8 additions and 10 deletions

View file

@ -15,7 +15,6 @@ add_subdirectory(LibDebug)
add_subdirectory(LibDesktop)
add_subdirectory(LibDeviceTree)
add_subdirectory(LibDiff)
add_subdirectory(LibDl)
add_subdirectory(LibDNS)
add_subdirectory(LibDSP)
add_subdirectory(LibEDID)

View file

@ -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)")

View file

@ -1,4 +0,0 @@
# Provide a dummy target and a linker script 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)")