Skip to content

Commit

Permalink
Build script creates symlinks as well
Browse files Browse the repository at this point in the history
  • Loading branch information
bernedom authored and bog-dan-ro committed Nov 28, 2023
1 parent 5c0e9a5 commit 8cd5e08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_ssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ build_ssl_1_1() {
llvm-strip --strip-all libssl_1_1.so
cp libcrypto_1_1.so libssl_1_1.so "../$version_out_dir/$qt_arch" || exit 1
cp libcrypto.a libssl.a "../$version_out_dir/$qt_arch" || exit 1
ln -s "../$version_out_dir/$qt_arch/libcrypto_1_1.so" "../$version_out_dir/$qt_arch/libcrypto.so"
ln -s "../$version_out_dir/$qt_arch/libssl_1_1.so" "../$version_out_dir/$qt_arch/libssl.so"
}

build_ssl_3() {
Expand All @@ -114,6 +116,8 @@ build_ssl_3() {
cp libcrypto.a libssl.a "${out_path}" || exit 1
cp libcrypto.so "${out_path}/libcrypto_3.so" || exit 1
cp libssl.so "${out_path}/libssl_3.so" || exit 1
ln -s "${out_path}/libcrypto_3.so" "${out_path}/libcrypto.so"
ln -s "${out_path}/libssl_3.so" "${out_path}/libssl.so"

pushd ${out_path} || exit 1
patchelf --set-soname libcrypto_3.so libcrypto_3.so || exit 1
Expand Down

0 comments on commit 8cd5e08

Please sign in to comment.