]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - .github/before_script.sh
Make the use of RPATH conditional
[openssl-gost/engine.git] / .github / before_script.sh
index 003a9a63c20a0320f1b6d83f468d6914abb55df6..2164d7f7f897079b671713d5bd8cd1ba37944c09 100755 (executable)
@@ -17,7 +17,7 @@ git describe --always --long
 
 PREFIX=$HOME/opt
 
-${SETARCH-} ./config shared -d --prefix=$PREFIX --libdir=lib --openssldir=$PREFIX -Wl,-rpath=$PREFIX/lib
+${SETARCH-} ./config shared -d --prefix=$PREFIX --libdir=lib --openssldir=$PREFIX ${USE_RPATH:+-Wl,-rpath=$PREFIX/lib}
 ${SETARCH-} make -s -j$(nproc) build_libs
 ${SETARCH-} make -s -j$(nproc) build_programs
 make -s install_sw