1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:47:34 +00:00

Ports: Build shared libraries for a few more ports

This manually builds shared libraries for a bunch of ports. Using
libtool would be preferable but that's currently broken so I'm
linking the shared libraries manually.
This commit is contained in:
Gunnar Beutner 2021-04-15 15:46:40 +02:00 committed by Andreas Kling
parent c9d5358685
commit da92c0e1ca
10 changed files with 50 additions and 2 deletions

View file

@ -5,3 +5,9 @@ useconfigure=true
files="https://ijg.org/files/jpegsrc.v${version}.tar.gz jpeg-${version}.tar.gz ad7e40dedc268f97c44e7ee3cd54548a"
auth_type="md5"
workdir="jpeg-$version"
install() {
run make DESTDIR=$DESTDIR $installopts install
${CC} -shared -o $DESTDIR/usr/local/lib/libjpeg.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libjpeg.a -Wl,--no-whole-archive
rm -f $DESTDIR/usr/local/lib/libjpeg.la
}