]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Specify rpath when building OpenSSL.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 23 Sep 2025 01:32:57 +0000 (11:32 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 23 Sep 2025 05:35:19 +0000 (15:35 +1000)
.github/install_libcrypto.sh
.github/workflows/c-cpp.yml

index c2e4380f9888e61919f671aecd55ff121a2bf3b5..d1aa23450679664e35ad79f85a7b7e6c2277e43f 100755 (executable)
@@ -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
index 7bda9d5b3edffa7f30aa0139a2469722af4d7e8f..293d0d99c005f8f58a9f06096d4656eb04969497 100644 (file)
@@ -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: