mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
libraries/mysql++: Fixed underlinking and forced -j1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7bdd0b28d9
commit
dbdb8dc067
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue