libraries/cogl: Fix build with multiple jobs.

The build will consistently fail when run with multiple jobs.
Restrict installing to a single job, while allowing the compile
stage to run with multiple jobs.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-04-17 10:40:32 +12:00 committed by Willy Sudiarto Raharjo
parent 2c070ebb43
commit e444b76dfc
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cogl
VERSION=${VERSION:-1.22.8}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -113,7 +113,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
make install -j1 DESTDIR=$PKG
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la