summaryrefslogtreecommitdiff
path: root/extract-files.sh
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2020-09-22 17:32:07 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-12-20 18:55:01 +0200
commitd7853458d0f848282480b01b8c106c2a7979c218 (patch)
treee84b937e99a0acb885f712a477e11b551f1b6e0c /extract-files.sh
parent088a145a3a900a2d46481073c928445fec9db81a (diff)
sdm660-common: Add a shim for dpmframework
* libdpmframework depends on strndup16to8 and strdup8to16 methods. Change-Id: I39d252b5830b752728a0c8607d32d8a279524ce1 Co-authored-by: Demon000 <demonsingur@gmail.com>
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-xextract-files.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 6c11d69..031451a 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -61,7 +61,9 @@ fi
function blob_fixup() {
case "${1}" in
-
+ product/lib64/libdpmframework.so)
+ "${PATCHELF}" --add-needed "libshim_dpmframework.so" "${2}"
+ ;;
vendor/bin/mlipayd@1.1)
"${PATCHELF}" --remove-needed vendor.xiaomi.hardware.mtdservice@1.0.so "${2}"
;;