1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 21:47:45 +00:00

Ports: Add libwebp

This library includes webp converter to other formats as well and could
be used as reference implementation for performance improvements.
This commit is contained in:
Liav A 2023-08-26 17:51:39 +03:00 committed by Tim Schumacher
parent 64bb5652a1
commit db2701f2e2
4 changed files with 115 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# Patches for libwebp on SerenityOS
## `0001-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.
This patch here is a bit more elaborate for other ports, as libintl's
configure includes the code for detecting dynamic linker characteristics
twice, and it also queries the C++ compiler for shared library support.