We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1533bc3 + 89a536d commit 828d6eaCopy full SHA for 828d6ea
builds/android/android_build_helper.sh
@@ -267,12 +267,15 @@ function android_build_verify_so {
267
fi
268
android_build_check_fail
269
270
- if command -v readelf >/dev/null 2>&1 ; then
+ local READELF="${TOOLCHAIN_PATH}/${TOOLCHAIN_HOST}-readelf"
271
+ if command -v ${READELF} >/dev/null 2>&1 ; then
272
+ local readelf_bin="${READELF}"
273
+ elif command -v readelf >/dev/null 2>&1 ; then
274
local readelf_bin="readelf"
275
elif command -v greadelf >/dev/null 2>&1 ; then
276
local readelf_bin="greadelf"
277
else
- ANDROID_BUILD_FAIL+=("Could not find [g]readelf")
278
+ ANDROID_BUILD_FAIL+=("Could not find any of readelf, greadelf, or ${READELF}")
279
280
281
0 commit comments