mirror of
https://github.com/izzy2lost/android_openssl.git
synced 2026-06-19 01:20:12 -07:00
Fix patchelf operations for OpenSSL 3.x
The previous refactoring commit 841f289 changed that command by
prepending relative path to the libs files, and that seem to break
what we try to achieve with patchelf. This reverts that part.
This commit is contained in:
committed by
Assam Boudjelthia
parent
5b9a936349
commit
3df6b5f37c
+5
-3
@@ -109,9 +109,11 @@ build_ssl_3() {
|
||||
cp libcrypto.so "${out_path}/libcrypto_3.so" || exit 1
|
||||
cp libssl.so "${out_path}/libssl_3.so" || exit 1
|
||||
|
||||
patchelf --set-soname "${out_path}/libcrypto_3.so" "${out_path}/libcrypto_3.so" || exit 1
|
||||
patchelf --set-soname "${out_path}/libssl_3.so" "${out_path}/libssl_3.so" || exit 1
|
||||
patchelf --replace-needed "${out_path}/libcrypto.so" "${out_path}/libcrypto_3.so" "${out_path}/libssl_3.so" || exit 1
|
||||
pushd ${out_path} || exit 1
|
||||
patchelf --set-soname libcrypto_3.so libcrypto_3.so || exit 1
|
||||
patchelf --set-soname libssl_3.so libssl_3.so || exit 1
|
||||
patchelf --replace-needed libcrypto.so libcrypto_3.so libssl_3.so || exit 1
|
||||
popd
|
||||
}
|
||||
|
||||
for param in "${params[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user