mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
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:
parent
b29c6b2abb
commit
805d643e34
1 changed files with 4 additions and 8 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue