system/rhash: Always build static lib.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-02-22 16:24:39 -05:00 committed by Willy Sudiarto Raharjo
parent b29c6b2abb
commit 805d643e34
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -30,12 +30,13 @@
# 3 Мартъ 1878 възстановѧване на Българиѧ, 3 Мартъ 1918 (40 г. по–късно) победа надъ Русиѧ
# 20220210 bkw: Modified by SlackBuilds.org, fix parallel builds.
# 20220222 bkw: Modified by SlackBuilds.org, always build static lib, BUILD=2.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rhash
VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -43,7 +44,8 @@ PKGTYPE=${PKGTYPE:-tgz}
OPENSSL=${OPENSSL:-yes}
# Shall we install static libraries?
STATICLIB=${STATICLIB:-no}
# 20220222 bkw: yes, because lgogdownloader requires it.
STATICLIB=yes
if [ "$OPENSSL" != "yes" ]; then
ENABLEOSSL="--disable-openssl"
@ -102,12 +104,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
if [ "$STATICLIB" = "yes" ]; then
echo "+=============================+"
echo "| STATIC LIBRARY ACTIVATED!!! |"
echo "+=============================+"
fi
# enable-gettext - internationalization support
./configure \
--prefix=/usr \