ladybird/Ports/SDL2_image/patches
2022-08-23 13:30:48 +01:00
..
0001-libtool-Enable-shared-library-support-for-SerenityOS.patch Ports/SDL2_image: Update to 2.6.2 2022-08-23 13:30:48 +01:00
ReadMe.md Ports: Replace manually linking SDL2_image with a libtool patch 2022-06-03 20:50:01 +01:00

Patches for SDL2_image 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.