LibTimeZone: Exclude from the tools build and switch to a shared library

It is not needed by code generators anymore, so it is not needed in the
Lagom tools build. And it is not needed as an object library anymore; it
was created this way so it could be included in Serenity's LibC.
This commit is contained in:
Timothy Flynn
2024-06-23 16:51:58 -04:00
committed by Andreas Kling
parent 0b753dcb44
commit be0dca8da3
2 changed files with 3 additions and 15 deletions

View File

@@ -348,12 +348,6 @@ add_serenity_subdirectory(Userland/Libraries/LibMain)
# This is needed even if Lagom is not enabled because it is depended upon by code generators.
add_serenity_subdirectory(Userland/Libraries/LibFileSystem)
# LibTimeZone
# This is needed even if Lagom is not enabled because it is depended upon by code generators.
add_serenity_subdirectory(Userland/Libraries/LibTimeZone)
# We need an install rule for LibTimeZone b/c it is a manual OBJECT library instead of serenity_lib
install(TARGETS LibTimeZone EXPORT LagomTargets)
# LibIDL
# This is used by the BindingsGenerator so needs to always be built.
add_serenity_subdirectory(Userland/Libraries/LibIDL)
@@ -401,6 +395,7 @@ set(lagom_standard_libraries
Syntax
TextCodec
Threading
TimeZone
TLS
Unicode
URL