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

Ports: Replace manually linking SDL2_mixer with a libtool patch

This commit is contained in:
Tim Schumacher 2022-06-03 16:20:26 +02:00 committed by Linus Groh
parent e7f8389d37
commit 546f398ff5
4 changed files with 94 additions and 8 deletions

View file

@ -5,3 +5,17 @@
Skip building the playmus and playwav utilities
## `0002-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.