diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2012-09-19 18:26:39 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-19 18:26:39 -0500 |
commit | 59d0a2676cf939a0933eb9caaa44e6f836043366 (patch) | |
tree | 101ab1bfa202212559022d08205226f53ca2173d /graphics/rawstudio | |
parent | 67edc6a4dee3f49b2065338e585f6c91ce8e95a0 (diff) |
graphics/rawstudio: Fix linking to libgthread-2.0.so
Thanks to Willy Sudiarto Raharjo.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/rawstudio')
-rw-r--r-- | graphics/rawstudio/rawstudio.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/rawstudio/rawstudio.SlackBuild b/graphics/rawstudio/rawstudio.SlackBuild index 1cdbc6557362f..a79f8384f2689 100644 --- a/graphics/rawstudio/rawstudio.SlackBuild +++ b/graphics/rawstudio/rawstudio.SlackBuild @@ -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 \ |