summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibUSBDB
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/LibUSBDB
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/LibUSBDB')
-rw-r--r--Userland/Libraries/LibUSBDB/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibUSBDB/CMakeLists.txt b/Userland/Libraries/LibUSBDB/CMakeLists.txt
index 5dd0ea9933..b3b9de07dd 100644
--- a/Userland/Libraries/LibUSBDB/CMakeLists.txt
+++ b/Userland/Libraries/LibUSBDB/CMakeLists.txt
@@ -3,4 +3,3 @@ set(SOURCES
)
serenity_lib(LibUSBDB usbdb)
-target_link_libraries(LibUSBDB LibC)