mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:27:34 +00:00
LibC: Remove the LibPthread
interface target
This commit is contained in:
parent
28061cf94d
commit
5870484d1a
6 changed files with 5 additions and 15 deletions
|
@ -180,7 +180,5 @@ 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)
|
||||
# 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)")
|
||||
|
|
|
@ -4,4 +4,4 @@ set(SOURCES
|
|||
)
|
||||
|
||||
serenity_lib(LibThreading threading)
|
||||
target_link_libraries(LibThreading LibC LibCore LibPthread)
|
||||
target_link_libraries(LibThreading LibC LibCore)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue