diff options
author | Volodymyr Zhdanov <wight554@gmail.com> | 2020-10-22 01:33:24 +0300 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-11-26 20:40:02 +0100 |
commit | c2a40faabf6ca648101a6fcbda58ac133d982e71 (patch) | |
tree | ed5cc8f6e87eda619b2f72501c0a30324c1a8b3c | |
parent | 3f39ee5eed7397fb25be8890e36e4616f380113a (diff) |
extract_utils: implement patchelf
Change-Id: I406f70ef1ce9ec7a0998f77439b7d3fa3ec4e62a
-rw-r--r-- | extract_utils.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extract_utils.sh b/extract_utils.sh index fd7b592..7c81023 100644 --- a/extract_utils.sh +++ b/extract_utils.sh @@ -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..." |