From 48d2008e82d436cbf45206c59e42c65c317f918c Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Thu, 5 Nov 2020 19:50:53 +0200 Subject: [PATCH] davinci: Switch to patchelf from tools-lineage Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3 --- extract-files.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index 617aec2..d9864be 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -62,12 +62,12 @@ fi function blob_fixup() { case "${1}" in system_ext/lib64/libwfdnative.so) - patchelf --remove-needed "android.hidl.base@1.0.so" "${2}" + "${PATCHELF}" --remove-needed "android.hidl.base@1.0.so" "${2}" ;; vendor/lib64/hw/camera.qcom.so) - patchelf --remove-needed "libMegviiFacepp-0.5.2.so" "${2}" - patchelf --remove-needed "libmegface.so" "${2}" - patchelf --add-needed "libshim_megvii.so" "${2}" + "${PATCHELF}" --remove-needed "libMegviiFacepp-0.5.2.so" "${2}" + "${PATCHELF}" --remove-needed "libmegface.so" "${2}" + "${PATCHELF}" --add-needed "libshim_megvii.so" "${2}" ;; esac }