sm6250-common: switch to lineage patchelf

This commit is contained in:
Volodymyr Zhdanov 2020-10-30 15:04:45 +02:00 committed by Demon000
parent 17e2b77fc5
commit e26b98d4f7

View File

@ -52,9 +52,9 @@ fi
function blob_fixup() {
case "${1}" in
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
}