From 51cf35988bf621a1c87fe1166638ea060ea49fa9 Mon Sep 17 00:00:00 2001 From: Hendiadyoin1 Date: Mon, 29 Nov 2021 18:20:54 +0100 Subject: [PATCH] LibGfx: Link against LibIPC Gfx::Color implements an IPC::[en|de]code function, but we did not actually link against LibIPC to resolve the needed Symbols for that and were relying on LibGui or others to link against it for us. Having this linkage is unfortunate, but static inlining the functions in question is sadly not possible, due needed includes leading the IPC pipeline to initialize multiple times then, which leads to a compilation error. --- Userland/Libraries/LibGfx/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGfx/CMakeLists.txt b/Userland/Libraries/LibGfx/CMakeLists.txt index 208dc9253b..5e3c86aeee 100644 --- a/Userland/Libraries/LibGfx/CMakeLists.txt +++ b/Userland/Libraries/LibGfx/CMakeLists.txt @@ -44,4 +44,4 @@ set(SOURCES ) serenity_lib(LibGfx gfx) -target_link_libraries(LibGfx LibM LibCompress LibCore LibTextCodec) +target_link_libraries(LibGfx LibM LibCompress LibCore LibTextCodec LibIPC)