universal7580: Switch to patchelf from tools-lineage
authorMichael Bestas <mkbestas@lineageos.org>
Thu, 5 Nov 2020 17:50:53 +0000 (19:50 +0200)
committerJan Altensen <info@stricted.net>
Sun, 3 Jan 2021 08:37:25 +0000 (09:37 +0100)
Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3

extract-files.sh

index aea1eff385a59c8d4320182d69c041af67f2b316..4dafda34b16aa4d5a54c71b0d8a0477dc1ed03c9 100755 (executable)
@@ -61,7 +61,7 @@ extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTIO
 
 # Fix proprietary blobs
 BLOB_ROOT="$ANDROID_ROOT"/vendor/"$VENDOR"/"$DEVICE_COMMON"/proprietary
-patchelf --replace-needed libgui.so libsensor.so $BLOB_ROOT/vendor/bin/gpsd
+"${PATCHELF}" --replace-needed libgui.so libsensor.so $BLOB_ROOT/vendor/bin/gpsd
 
 # replace SSLv3_client_method with SSLv23_method
 sed -i "s/SSLv3_client_method/SSLv23_method\x00\x00\x00\x00\x00\x00/" $BLOB_ROOT/vendor/bin/gpsd