aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgdiplus
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libgdiplus')
-rw-r--r--libraries/libgdiplus/libgdiplus.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild
index 551f2c5308fc..f2a6132752b0 100644
--- a/libraries/libgdiplus/libgdiplus.SlackBuild
+++ b/libraries/libgdiplus/libgdiplus.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=libgdiplus
VERSION=2.10.9
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -79,6 +79,11 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--build=$ARCH-slackware-linux
+# Quick fix borrowed from:
+# https://www.slacky.eu/asche64/pkgreports/
+sed -i "s/^LIBS = -lpthread -lfontconfig $/\
+ LIBS = -lpthread -lfontconfig -lglib-2.0 -lX11/" tests/Makefile
+
make
make install-strip DESTDIR=$PKG