]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
travis-ci: adjust osx linker options
authorIlya Shipitsin <chipitsine@gmail.com>
Mon, 3 Feb 2020 06:18:33 +0000 (11:18 +0500)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Mon, 3 Feb 2020 07:07:34 +0000 (10:07 +0300)
.travis.yml

index d25e15137dedaaa9208764dcedaa38f81b05ff10..4929300a452a0acf53f6efaac02de25e3d3990a2 100644 (file)
@@ -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