From: Ilya Shipitsin Date: Mon, 3 Feb 2020 06:18:33 +0000 (+0500) Subject: travis-ci: adjust osx linker options X-Git-Tag: v3.0.0~209 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=a81a9a6a70dadf23ea9173f1af6ea8e58cfde659;p=openssl-gost%2Fengine.git travis-ci: adjust osx linker options --- diff --git a/.travis.yml b/.travis.yml index d25e151..4929300 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ env: - PREFIX=${HOME}/opt - PATH=${PREFIX}/bin:${PATH} - OPENSSL_BRANCH=OpenSSL_1_1_1-stable + - RPATH="-Wl,-rpath=${PREFIX}/lib" matrix: include: @@ -41,6 +42,7 @@ matrix: - name: clang | openssl-stable os: osx compiler: clang + env: RPATH="-Wl,-rpath,${PREFIX}/lib" allow_failures: env: OPENSSL_BRANCH=master if: type == pull_request @@ -52,7 +54,7 @@ before_script: - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git - cd openssl - git describe --always --long - - $SETARCH ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} -Wl,-rpath=${PREFIX}/lib + - $SETARCH ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} ${RPATH} - travis_wait $SETARCH make -s -j$(nproc) build_libs - travis_wait $SETARCH make -s -j$(nproc) build_programs - make -s install_sw