1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 06:17:35 +00:00

Ports: Replace manually linking libvorbis with a libtool patch

This commit is contained in:
Tim Schumacher 2022-06-03 17:10:54 +02:00 committed by Linus Groh
parent e3b29ef61c
commit 9213ed85f0
3 changed files with 93 additions and 10 deletions

View file

@ -0,0 +1,16 @@
# Patches for libvorbis 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.