From 4b55047d9a3d3febb4cea7977487cff15f3193c9 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Mon, 17 Aug 2020 14:31:34 +0200 Subject: [PATCH] patcher: include /product + /system/product in LD_LIBRARY_PATH --- patcher/CommonPatcher | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patcher/CommonPatcher b/patcher/CommonPatcher index 8ea3d04..1001126 100644 --- a/patcher/CommonPatcher +++ b/patcher/CommonPatcher @@ -340,21 +340,21 @@ detect_arch () { case ${DALVIKVM_BIN} in *dalvikvm32* ) - export LD_LIBRARY_PATH="${APEX_LD}/lib:/system/lib:/vendor/lib:/system/vendor/lib" + export LD_LIBRARY_PATH="${APEX_LD}/lib:/system/lib:/vendor/lib:/system/vendor/lib:/product/lib:/system/product/lib" ;; *dalvikvm64* ) - export LD_LIBRARY_PATH="${APEX_LD}/lib64:/system/lib64:/vendor/lib64:/system/vendor/lib64" + export LD_LIBRARY_PATH="${APEX_LD}/lib64:/system/lib64:/vendor/lib64:/system/vendor/lib64:/product/lib64:/system/product/lib64" ;; *dalvikvm* ) case ${DALVIKVM_ARCH} in *32-bit* ) - export LD_LIBRARY_PATH="${APEX_LD}/lib:/system/lib:/vendor/lib:/system/vendor/lib" + export LD_LIBRARY_PATH="${APEX_LD}/lib:/system/lib:/vendor/lib:/system/vendor/lib:/product/lib:/system/product/lib" ;; *64-bit* ) - export LD_LIBRARY_PATH="${APEX_LD}/lib64:/system/lib64:/vendor/lib64:/system/vendor/lib64" + export LD_LIBRARY_PATH="${APEX_LD}/lib64:/system/lib64:/vendor/lib64:/system/vendor/lib64:/product/lib64:/system/product/lib64" ;; esac ;;