diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-07-15 15:51:00 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-19 11:00:35 +0100 |
commit | 28061cf94d882bba7ce64a4b61454f2cf07bf4a5 (patch) | |
tree | 62535cce16c065a05106aef6a9d3c1328d768634 /Userland/Libraries/LibC | |
parent | dac361e33078d93cc8f33f564014661774adb203 (diff) | |
download | serenity-28061cf94d882bba7ce64a4b61454f2cf07bf4a5.zip |
Everywhere: Fully remove the separate LibPthread directory
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r-- | Userland/Libraries/LibC/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/CMakeLists.txt b/Userland/Libraries/LibC/CMakeLists.txt index 2319a241e1..916d76da37 100644 --- a/Userland/Libraries/LibC/CMakeLists.txt +++ b/Userland/Libraries/LibC/CMakeLists.txt @@ -179,3 +179,8 @@ 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 dummy target and a linker script for LibPthread that tells everything to link against LibC instead. +add_library(LibPthread INTERFACE) +target_link_libraries(LibPthread INTERFACE LibC) +file(WRITE "${CMAKE_STAGING_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libpthread.so" "INPUT(libc.so)") |