mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
LibC: Make sure crt0 and crt0_shared are built before LibC
We need these two object files in order for ld to work. Fixes #4538.
This commit is contained in:
parent
2c78fa066f
commit
5662e72126
Notes:
sideshowbarker
2024-07-18 09:58:13 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/5662e72126f Pull-request: https://github.com/SerenityOS/serenity/pull/8590 Reviewed-by: https://github.com/linusg ✅
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ set_property(
|
|||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++")
|
||||
serenity_libc(LibC c)
|
||||
add_dependencies(LibC crt0 crt0_shared)
|
||||
target_link_libraries(LibC ssp system)
|
||||
|
||||
# We mark LibCStatic as a dependency of LibC because this triggers the build of the LibCStatic target
|
||||
|
|
Loading…
Reference in a new issue