From: Ilya Shipitsin Date: Sun, 11 Oct 2020 18:42:51 +0000 (+0500) Subject: CI: travis-ci: replace not defined SSL_LIB, SSL_INC for BotringSSL builds X-Git-Tag: v2.3-dev7~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b736b4476a78f63b9eb94ec37ba0ae252b268aa;p=thirdparty%2Fhaproxy.git CI: travis-ci: replace not defined SSL_LIB, SSL_INC for BotringSSL builds after 73b520b958be4ee79b4f09a32d6718a13dc2d1fd variables SSL_LIB, SSL_INC are not set, but still used by BoringSSL builds. That leads to error (I wish we could stop on such errors) and using stock openssl instead of boringssl --- diff --git a/scripts/build-ssl.sh b/scripts/build-ssl.sh index 34eee9bb97..9a6a2b2410 100755 --- a/scripts/build-ssl.sh +++ b/scripts/build-ssl.sh @@ -103,14 +103,14 @@ if [ ! -z ${BORINGSSL+x} ]; then cmake -GNinja -DCMAKE_BUILD_TYPE=release -DBUILD_SHARED_LIBS=1 .. ninja - rm -rf ${SSL_LIB} || exit 0 - rm -rf ${SSL_INC} || exit 0 + rm -rf ${HOME}/opt/lib || exit 0 + rm -rf ${HOME}/opt/include || exit 0 - mkdir -p ${SSL_LIB} - cp crypto/libcrypto.so ssl/libssl.so ${SSL_LIB} + mkdir -p ${HOME}/opt/lib + cp crypto/libcrypto.so ssl/libssl.so ${HOME}/opt/lib - mkdir -p ${SSL_INC} - cp -r ../include/* ${SSL_INC} + mkdir -p ${HOME}/opt/include + cp -r ../include/* ${HOME}/opt/include ) fi