aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-22 16:24:39 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-23 20:10:25 +0700
commit805d643e34e3c6671f18794369aa6689e8a153cb (patch)
tree9fda7884fc35be9d71aaf7e739a3f47526bd56c2 /system
parentb29c6b2abbb0ddd1eff65b7ea9d1bc4b14995deb (diff)
system/rhash: Always build static lib.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/rhash/rhash.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/system/rhash/rhash.SlackBuild b/system/rhash/rhash.SlackBuild
index 28611fb77c1a..f92c63730185 100644
--- a/system/rhash/rhash.SlackBuild
+++ b/system/rhash/rhash.SlackBuild
@@ -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 \