extract_utils: implement patchelf

Change-Id: I406f70ef1ce9ec7a0998f77439b7d3fa3ec4e62a
This commit is contained in:
Volodymyr Zhdanov
2020-10-22 01:33:24 +03:00
committed by Michael Bestas
parent 3db3630f4c
commit a039a46b0d

View File

@@ -1264,6 +1264,10 @@ function oat2dex() {
export CDEXCONVERTER="$LINEAGE_ROOT"/prebuilts/tools-lineage/${HOST}-x86/bin/compact_dex_converter
fi
if [ -z "$PATCHELF" ]; then
export PATCHELF="$LINEAGE_ROOT"/prebuilts/tools-lineage/${HOST}-x86/bin/patchelf
fi
# Extract existing boot.oats to the temp folder
if [ -z "$ARCHES" ]; then
echo "Checking if system is odexed and locating boot.oats..."