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.
This commit is contained in:
parent
9e7c16d0a4
commit
51cf35988b
Notes:
sideshowbarker
2024-07-19 17:12:21 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/51cf35988bf Pull-request: https://github.com/SerenityOS/serenity/pull/11118 Reviewed-by: https://github.com/alimpfard ✅ Reviewed-by: https://github.com/sunverwerth ✅
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue