summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIPC
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-10-22 15:13:49 +0200
committerLinus Groh <mail@linusgroh.de>2022-11-01 14:49:09 +0000
commit7834e26ddb6f0205b8a4688b5df339f50803cc48 (patch)
treed9340b20dc2d8cfada26feab06cddca015e25c39 /Userland/Libraries/LibIPC
parent39fca21e11889481b32f805a26e48fec73b4b9d0 (diff)
downloadserenity-7834e26ddb6f0205b8a4688b5df339f50803cc48.zip
Everywhere: Explicitly link all binaries against the LibC target
Even though the toolchain implicitly links against -lc, it does not know where it should get LibC from except for the sysroot. In the case of Clang this causes it to pick up the LibC stub instead, which might be slightly outdated and feature missing symbols. This is currently not an issue that manifests because we pass through the dependency on LibC and other libraries by accident, which causes CMake to link against the LibC target (instead of just the library), and thus points the linker at the build output directory. Since we are looking to fix that in the upcoming commits, let's make sure that everything will still be able to find the proper LibC first.
Diffstat (limited to 'Userland/Libraries/LibIPC')
-rw-r--r--Userland/Libraries/LibIPC/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibIPC/CMakeLists.txt b/Userland/Libraries/LibIPC/CMakeLists.txt
index 9b23d388c7..31c3b597e9 100644
--- a/Userland/Libraries/LibIPC/CMakeLists.txt
+++ b/Userland/Libraries/LibIPC/CMakeLists.txt
@@ -5,4 +5,4 @@ set(SOURCES
)
serenity_lib(LibIPC ipc)
-target_link_libraries(LibIPC LibC LibCore)
+target_link_libraries(LibIPC LibCore)