mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 11:07:34 +00:00

This previously went unnoticed because `fontconfig` was never linked into a shared library manually.
26 lines
763 B
Markdown
26 lines
763 B
Markdown
# Patches for fontconfig on SerenityOS
|
|
|
|
## `0001-Stub-out-FcRandom.patch`
|
|
|
|
Stub out FcRandom()
|
|
|
|
|
|
## `0002-Manually-link-against-lxml2-and-ldl.patch`
|
|
|
|
Manually link against lxml2 and ldl
|
|
|
|
|
|
## `0003-libtool-Enable-shared-library-support-for-SerenityOS.patch`
|
|
|
|
libtool: Enable shared library support for SerenityOS
|
|
|
|
For some odd reason, libtool handles the configuration for shared
|
|
libraries entirely statically and in its configure script. If no
|
|
shared library support is "present", building shared libraries is
|
|
disabled entirely.
|
|
|
|
Fix that by just adding the appropriate configuration options for
|
|
`serenity`. This allows us to finally create dynamic libraries
|
|
automatically using libtool, without having to manually link the
|
|
static library into a shared library.
|
|
|