1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:17:45 +00:00

LibC+LibELF: Move ELF definitions from LibC to LibELF

This is needed to avoid including LibC headers in Lagom builds.
Unfortunately, we cannot rely on the build machine to provide a
fully POSIX-compatible ELF header for Lagom builds, so we have to
use our own.
This commit is contained in:
implicitfield 2023-04-30 19:07:21 +04:00 committed by Andreas Kling
parent 7d19abda7a
commit 79adeb626b
16 changed files with 850 additions and 836 deletions

View file

@ -2,4 +2,5 @@
# so add a dummy interface library for platform-agnosticism.
add_library(LibELF INTERFACE)
serenity_install_headers("LibELF")
serenity_install_sources("Userland/Libraries/LibELF")