graphics/rawstudio: Fix linking to libgthread-2.0.so

Thanks to Willy Sudiarto Raharjo.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2012-09-19 18:26:39 -05:00
parent 67edc6a4de
commit 59d0a2676c

View file

@ -29,7 +29,7 @@
PRGNAM="rawstudio"
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -73,6 +73,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Add libgthread-2.0.so to linked-in library list
find . -name "Makefile.in" -exec \
sed -i "s,@PACKAGE_LIBS@,@PACKAGE_LIBS@ -lgthread-2.0,g" {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \