summaryrefslogtreecommitdiff
path: root/Userland/DynamicLoader
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-01-20 11:09:05 -0500
committerLinus Groh <mail@linusgroh.de>2022-01-23 12:48:26 +0000
commit6988403d5917b61069dbff62ab1fefff9edce99f (patch)
tree12c752ba96e3eca133d3e84822ee23b2c6a0b0cb /Userland/DynamicLoader
parentb873a222d7ece48f227516a3f2ba8717018ebae4 (diff)
downloadserenity-6988403d5917b61069dbff62ab1fefff9edce99f.zip
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.
Diffstat (limited to 'Userland/DynamicLoader')
-rw-r--r--Userland/DynamicLoader/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DynamicLoader/CMakeLists.txt b/Userland/DynamicLoader/CMakeLists.txt
index 8fef87b03e..50953797b4 100644
--- a/Userland/DynamicLoader/CMakeLists.txt
+++ b/Userland/DynamicLoader/CMakeLists.txt
@@ -45,5 +45,6 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang$")
target_link_libraries(Loader.so PRIVATE clang_rt.builtins)
endif ()
+target_link_libraries(Loader.so PRIVATE LibTimeZone)
target_link_options(Loader.so PRIVATE LINKER:--no-dynamic-linker)
install(TARGETS Loader.so RUNTIME DESTINATION usr/lib/)