mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
libraries/libgdiplus: Fixed to build against gcc-4.7.x
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
88bbbe43c1
commit
b2f8733f23
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue