aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Bourgoin <themard85@gmail.com>2021-02-10 22:38:58 -0700
committermarcost2 <marcostolcachir@gmail.com>2022-06-22 15:25:12 -0300
commit751d237ccff7865ebacd9dec4c982783dcff4b34 (patch)
treed9c184b6831a3bcbb61e89df93f3d84d3720d3cb
parent1cbb679752fb8ab40d771692bef2140f5428a7f8 (diff)
albus: Add a check before adding dependencies
Without a check, when performing a vendor blob regen it'll add another dependency on top of any existing one * EDIT: Add missing ones Change-Id: I7f39f837592ff0d7b32cc493964b02971a43c1b0
-rwxr-xr-xextract-files.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 3ecbef6..5133573 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -60,7 +60,9 @@ function blob_fixup() {
# Load wrapped shim
vendor/lib64/libmdmcutback.so)
- "${PATCHELF}" --add-needed "libqsap_shim.so" "${2}"
+ for LIBQSAP_SHIM in $(grep -L "libqsapshim.so" "${2}"); do
+ "${PATCHELF}" --add-needed "libqsapshim.so" "$LIBQSAP_SHIM"
+ done
;;
# Fix thermal engine config path