aboutsummaryrefslogtreecommitdiff
path: root/libraries/mysql++
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/mysql++')
-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 e14dbed4f758..1766755422ca 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}
-