libraries/agar: install shared libs +x.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-06-26 23:20:34 -04:00 committed by Willy Sudiarto Raharjo
parent 590854629d
commit ac2678d65c
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -10,12 +10,14 @@
# gcc. Unless that actually causes a problem, I'm not overriding it.
# If you really want to build with gcc, use: export CC=gcc
# 20230626 bkw: BUILD=2, install shared libs +x
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=agar
SRCNAM=libagar
VERSION=${VERSION:-1.7.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -91,6 +93,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make -j1 install DESTDIR=$PKG # yes, the -j1 is needed.
chmod +x $PKG/usr/lib*/*.so.*.*.*
strip $PKG/usr/lib*/*.so.*.*.* # no 'make install-strip'.
# since we couldn't stop static libs from being installed, delete them here,