aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2013-11-19 21:52:51 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-20 05:42:01 +0700
commitdbdb8dc067bd131369ff1bb99d9378677f4bc3f7 (patch)
treefb554f8c7748d1b51d28cfb964b284aab29100a9 /libraries
parent7bdd0b28d9454e5f66d0be5c7546146fa2d4dc95 (diff)
libraries/mysql++: Fixed underlinking and forced -j1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/mysql++/mysql++.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/mysql++/mysql++.SlackBuild b/libraries/mysql++/mysql++.SlackBuild
index e14dbed4f7587..1766755422ca4 100644
--- a/libraries/mysql++/mysql++.SlackBuild
+++ b/libraries/mysql++/mysql++.SlackBuild
@@ -75,6 +75,7 @@ find . \
# Thanks archlinux for these
for i in $CWD/patches/* ; do patch -p1 < $i ; done
+LDFLAGS="-lpthread" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -86,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-thread-check \
--build=$ARCH-slackware-linux
-make
+make -j1
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -103,4 +104,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-