From b50a851a636bcc49ec81df28e6b0ccfd75879496 Mon Sep 17 00:00:00 2001
From: Michael Bestas <mkbestas@lineageos.org>
Date: Thu, 5 Nov 2020 19:50:53 +0200
Subject: [PATCH] onclite: Switch to patchelf from tools-lineage

Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3
---
 extract-files.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extract-files.sh b/extract-files.sh
index f432ea2..d5ed5d7 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -62,10 +62,10 @@ fi
 function blob_fixup() {
     case "${1}" in
     product/lib64/libdpmframework.so)
-        patchelf --add-needed "libshim_dpmframework.so" "${2}"
+        "${PATCHELF}" --add-needed "libshim_dpmframework.so" "${2}"
         ;;
     vendor/lib/hw/camera.msm8953.so)
-        patchelf --add-needed camera.msm8953_shim.so "${2}"
+        "${PATCHELF}" --add-needed camera.msm8953_shim.so "${2}"
         ;;
     esac
 }
-- 
GitLab