- PREFIX=${HOME}/opt
- PATH=${PREFIX}/bin:${PATH}
- OPENSSL_BRANCH=OpenSSL_1_1_1-stable
+ - RPATH="-Wl,-rpath=${PREFIX}/lib"
matrix:
include:
- name: clang | openssl-stable
os: osx
compiler: clang
+ env: RPATH="-Wl,-rpath,${PREFIX}/lib"
allow_failures:
env: OPENSSL_BRANCH=master
if: type == pull_request
- 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