mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
Ports: Replace manually linking SDL2_gfx
with a libtool patch
This commit is contained in:
parent
34e193afa6
commit
9b4b068166
3 changed files with 93 additions and 6 deletions
|
@ -7,9 +7,4 @@ auth_type=sha256
|
|||
depends=("SDL2")
|
||||
useconfigure=true
|
||||
use_fresh_config_sub=true
|
||||
configopts=("--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local")
|
||||
|
||||
install() {
|
||||
run make install DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}"
|
||||
run ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_gfx.so -Wl,-soname,libSDL2_gfx.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_gfx.a -Wl,--no-whole-archive
|
||||
}
|
||||
configopts=("--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local" "--disable-static" "--enable-shared")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue