mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 04:07:34 +00:00
Ports: Replace manually linking SDL2_image
with a libtool patch
This commit is contained in:
parent
9b4b068166
commit
e7f8389d37
3 changed files with 94 additions and 6 deletions
16
Ports/SDL2_image/patches/ReadMe.md
Normal file
16
Ports/SDL2_image/patches/ReadMe.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# 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.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue