diff options
author | Nanhumly <admin@warbler.cc> | 2023-06-08 05:01:48 +0000 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2023-08-12 21:49:15 +0200 |
commit | aab74acc4218b24db3ad17d0150180334f38599f (patch) | |
tree | 52b42c16de2df2203f84d78c1b1e2e59f528cc99 /extract-files.sh | |
parent | 86896e811d90bc2b066eb0cd8d93c85168732767 (diff) |
msm8996-common: Migrate to common libcutils shim
Change-Id: I0efa9f044056d16418bc08d53390f9b3ea4ac20e
Signed-off-by: Nanhumly <admin@warbler.cc>
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-x | extract-files.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extract-files.sh b/extract-files.sh index 39e8a1e..ce17baa 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -72,7 +72,9 @@ function blob_fixup() { case "${1}" in system_ext/lib64/libdpmframework.so) - sed -i "s/libhidltransport.so/libcutils-v29.so\x00\x00\x00/" "${2}" + for LIBDPM_SHIM in $(grep -L "libcutils_shim.so" "${2}"); do + "${PATCHELF}" --add-needed "libcutils_shim.so" "$LIBDPM_SHIM" + done ;; # Patch libmmcamera2_stats_modules |