From 55f9c104a11fc1fc68110928e124def565c6991b Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Fri, 11 Oct 2024 14:25:42 -0300 Subject: [PATCH] sm8550-common: Resolve missing symbols on libqcodec2_core Change-Id: I300d78733f07b7fe1ba6b5066d02f49eefbeb54a --- extract-files.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index 220a67f..8171927 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -102,6 +102,10 @@ function blob_fixup() { grep -q "gettid: 1" "${2}" || echo -e "\ngettid: 1" >> "${2}" grep -q "pipe2: 1" "${2}" || echo -e "\npipe2: 1" >> "${2}" ;; + vendor/lib64/libqcodec2_core.so) + [ "$2" = "" ] && return 0 + grep -q "libcodec2_shim.so" "${2}" || "${PATCHELF}" --add-needed "libcodec2_shim.so" "${2}" + ;; vendor/etc/init/vendor.qti.media.c2audio@1.0-service.rc) [ "$2" = "" ] && return 0 sed -i '/disabled/d' "${2}"