[openssh-commits] [openssh] branch master updated: Specify rpath when building OpenSSL.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Sep 23 15:46:40 AEST 2025


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new b94e7251a Specify rpath when building OpenSSL.
b94e7251a is described below

commit b94e7251a17a497669e825cb70ac79c96bdc3472
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Tue Sep 23 11:32:57 2025 +1000

    Specify rpath when building OpenSSL.
---
 .github/install_libcrypto.sh | 12 ++++++++----
 .github/workflows/c-cpp.yml  |  4 ++--
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/.github/install_libcrypto.sh b/.github/install_libcrypto.sh
index c2e4380f9..d1aa23450 100755
--- a/.github/install_libcrypto.sh
+++ b/.github/install_libcrypto.sh
@@ -30,10 +30,13 @@ fi
 
 set -x
 
-cd ${HOME}
-[ -d ${HOME}/openssl ] || git clone https://github.com/openssl/openssl.git
+if [ ! -d ${HOME}/openssl ]; then
+	cd ${HOME}
+	git clone https://github.com/openssl/openssl.git
+	cd ${HOME}/openssl
+	git fetch --all
+fi
 cd ${HOME}/openssl
-git fetch --all
 
 if [ "${abi_compat_test}" = "y" ]; then
 	echo selecting ABI test release/branch for ${ver}
@@ -66,6 +69,7 @@ fi
 
 git checkout ${ver}
 make clean >/dev/null 2>&1 || true
-${dryrun} ./config no-threads shared ${opts} --prefix=${destdir}
+${dryrun} ./config no-threads shared ${opts} --prefix=${destdir} \
+    -Wl,-rpath,${destdir}/lib64
 ${dryrun} make -j4
 ${dryrun} sudo make install_sw
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 7bda9d5b3..293d0d99c 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -12,9 +12,9 @@ name: C/C++ CI
 
 on:
   push:
-    paths: [ '**.c', '**.h', '**.m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/run_tests.sh', '.github/workflows/c-cpp.yml' ]
+    paths: [ '**.c', '**.h', '**.m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/*.sh', '.github/workflows/c-cpp.yml' ]
   pull_request:
-    paths: [ '**.c', '**.h', '**.m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/run_tests.sh', '.github/workflows/c-cpp.yml' ]
+    paths: [ '**.c', '**.h', '**.m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/*.sh', '.github/workflows/c-cpp.yml' ]
 
 jobs:
   ci:

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list