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 }