mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 04:50:29 +00:00
Ports: Fix dependency and linker options for SDL2_image
This commit is contained in:
parent
f682c9f100
commit
4104846bd1
Notes:
sideshowbarker
2024-07-18 19:27:17 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/4104846bd1b Pull-request: https://github.com/SerenityOS/serenity/pull/6425
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
port=SDL2_image
|
||||
useconfigure=true
|
||||
version=2.0.5
|
||||
depends="SDL2 libpng libjpeg"
|
||||
depends="SDL2 libpng libjpeg libtiff"
|
||||
files="https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${version}.tar.gz SDL_image-${version}.tar.gz f26f3a153360a8f09ed5220ef7b07aea"
|
||||
auth_type=md5
|
||||
|
||||
|
@ -20,6 +20,6 @@ build() {
|
|||
|
||||
install() {
|
||||
run make -k DESTDIR="${SERENITY_BUILD_DIR}/Root" install
|
||||
${CC} -shared -o $DESTDIR/usr/local/lib/libSDL2_image.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libSDL2_image.a -Wl,--no-whole-archive
|
||||
${CC} -shared -o $DESTDIR/usr/local/lib/libSDL2_image.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libSDL2_image.a -Wl,--no-whole-archive -lpng -ljpeg -ltiff
|
||||
rm -f $DESTDIR/usr/local/lib/libSDL2_image.la
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue