get: silence libssl.so/libcrypto.so messages

This commit is contained in:
MilhouseVH 2017-02-12 22:37:35 +00:00
parent e1d7ab39b8
commit a39238432c

View File

@ -54,6 +54,9 @@ if [ -n "$PKG_URL" -a -n "$PKG_SOURCE_NAME" ]; then
printf "%${BUILD_INDENT}c ${boldcyan}GET${endcolor} $1\n" ' '>&$SILENT_OUT
export BUILD_INDENT=$((${BUILD_INDENT:-1}+$BUILD_INDENT_SIZE))
# unset LD_LIBRARY_PATH to stop wget from using toolchain/lib and loading libssl.so/libcrypto.so instead of host libraries
unset LD_LIBRARY_PATH
NBWGET=1
until $WGET_CMD "$PKG_URL" || $WGET_CMD "$PACKAGE_MIRROR"; do
NBWGET=$((NBWGET + 1))