summaryrefslogtreecommitdiff
path: root/Ports/SDL2_image
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-15 15:46:40 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-16 19:04:24 +0200
commitda92c0e1ca2be53df4a7889090656b428869d140 (patch)
tree024477eb4190eade300d754d952764aca4902ad0 /Ports/SDL2_image
parentc9d535868506dfede9e79ff2af01435e9bdea420 (diff)
downloadserenity-da92c0e1ca2be53df4a7889090656b428869d140.zip
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.
Diffstat (limited to 'Ports/SDL2_image')
-rwxr-xr-xPorts/SDL2_image/package.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ports/SDL2_image/package.sh b/Ports/SDL2_image/package.sh
index 4078ec4c2f..234fbba2da 100755
--- a/Ports/SDL2_image/package.sh
+++ b/Ports/SDL2_image/package.sh
@@ -19,4 +19,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
+ rm -f $DESTDIR/usr/local/lib/libSDL2_image.la
}