1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:37:36 +00:00

Ports: Replace manually linking SDL2_net with a libtool patch

This commit is contained in:
Tim Schumacher 2022-06-03 16:23:15 +02:00 committed by Linus Groh
parent 546f398ff5
commit 16a34c521e
5 changed files with 113 additions and 9 deletions

View file

@ -11,3 +11,17 @@ FIXME: We don't know why yet.
Include sys/select.h
## `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.