diff --git a/Ports/SDL2_image/package.sh b/Ports/SDL2_image/package.sh index 842360a9d22..f5c43f3e2b1 100755 --- a/Ports/SDL2_image/package.sh +++ b/Ports/SDL2_image/package.sh @@ -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 }