From aab74acc4218b24db3ad17d0150180334f38599f Mon Sep 17 00:00:00 2001 From: Nanhumly Date: Thu, 8 Jun 2023 05:01:48 +0000 Subject: msm8996-common: Migrate to common libcutils shim Change-Id: I0efa9f044056d16418bc08d53390f9b3ea4ac20e Signed-off-by: Nanhumly --- extract-files.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extract-files.sh') 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 -- cgit v1.2.3