clover: scripts: patchelf libmmcamera_bokeh and libmmcamera_ppeiscore

This commit is contained in:
Max Weffers 2019-06-02 08:24:25 +02:00
parent 5a436ccf9e
commit 38a98f16e1
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE

View file

@ -30,4 +30,8 @@ export VENDOR=xiaomi
export DEVICE_BRINGUP_YEAR=2018 export DEVICE_BRINGUP_YEAR=2018
DEVICE_BLOB_ROOT="$LINEAGE_ROOT"/vendor/"$VENDOR"/"$DEVICE"/proprietary
patchelf --remove-needed libandroid.so "$DEVICE_BLOB_ROOT"/vendor/lib/libmmcamera_bokeh.so
patchelf --remove-needed libgui.so "$DEVICE_BLOB_ROOT"/vendor/lib/libmmcamera_ppeiscore.so
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@" "./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"