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

DynamicLoader+LibC+LibTimeZone: Include LibTimeZone sources in LibC

LibTimeZone will be needed directly within LibC for functions such as
localtime(). This change adds LibTimeZone directly within LibC, so that
LibTimeZone isn't its own .so library anymore.

LibTimeZone itself is compiled as an object library to make it easier to
give it generator-specific compilation flags.
This commit is contained in:
Timothy Flynn 2022-01-20 11:09:05 -05:00 committed by Linus Groh
parent b873a222d7
commit 6988403d59
3 changed files with 4 additions and 4 deletions

View file

@ -5,6 +5,5 @@ set(SOURCES
${TIME_ZONE_DATA_SOURCES}
)
serenity_lib(LibTimeZone timezone)
target_link_libraries(LibTimeZone LibCore)
add_library(LibTimeZone OBJECT ${SOURCES})
target_compile_definitions(LibTimeZone PRIVATE ENABLE_TIME_ZONE_DATA=$<BOOL:${ENABLE_TIME_ZONE_DATABASE_DOWNLOAD}>)