libraries/mysql++: Fixed underlinking and forced -j1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Spencer 2013-11-19 21:52:51 +00:00 committed by Willy Sudiarto Raharjo
parent 7bdd0b28d9
commit dbdb8dc067

View file

@ -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}