summaryrefslogtreecommitdiff
path: root/Userland/DynamicLoader
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-07-14 03:31:12 +0300
committerAndreas Kling <kling@serenityos.org>2022-07-21 16:39:22 +0200
commit01f0ae20b68c4da3156ee40768da432d411c7e13 (patch)
treecf803a57fc73b1e4fe8cf70ac680197aaf0720dd /Userland/DynamicLoader
parent23f3857cdd404275044be599666081e1a8a7a287 (diff)
downloadserenity-01f0ae20b68c4da3156ee40768da432d411c7e13.zip
LibPthread: Implement named semaphores
Note that as part of this commit semaphore.cpp is excluded from the DynamicLoader, as the dynamic loader does not build with pthread.cpp which semaphore.cpp uses.
Diffstat (limited to 'Userland/DynamicLoader')
-rw-r--r--Userland/DynamicLoader/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DynamicLoader/CMakeLists.txt b/Userland/DynamicLoader/CMakeLists.txt
index 4b2c9aadc2..7505bf5148 100644
--- a/Userland/DynamicLoader/CMakeLists.txt
+++ b/Userland/DynamicLoader/CMakeLists.txt
@@ -26,7 +26,7 @@ if (ENABLE_UNDEFINED_SANITIZER)
endif()
# pthread requires thread local storage, which DynamicLoader does not have.
-list(FILTER LIBC_SOURCES1 EXCLUDE REGEX ".*/LibC/pthread\\.cpp")
+list(FILTER LIBC_SOURCES1 EXCLUDE REGEX ".*/LibC/(pthread|semaphore)\\.cpp")
add_definitions(-D_DYNAMIC_LOADER)