sm6375-common: Shim widevine with libcrypto_shim

The following change
e202e51cb0
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29
This commit is contained in:
Michael Bestas 2024-09-11 00:04:13 +03:00 committed by Anand S
commit c1d90ad058
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
2 changed files with 6 additions and 1 deletions

View file

@ -80,6 +80,10 @@ function blob_fixup() {
[ "$2" = "" ] && return 0
sed -ni '/default.*fqname/!p' "${2}"
;;
vendor/lib64/libwvhidl.so)
[ "$2" = "" ] && return 0
grep -q libcrypto_shim.so "${2}" || "${PATCHELF}" --add-needed "libcrypto_shim.so" "${2}"
;;
*)
return 1
;;