Problem: Android helpers no not validate dependent libraries.
Problem: Android helpers no not validate dependent libraries.

# Parse readelf output to verify the correct linking of libraries.
#   The first argument should be the soname of the newly built library.
#   The rest of the arguments should be the sonames of dependencies.
#   All sonames should be unversioned for android (no trailing numbers).
function android_build_verify_so {
...
    for dep_soname do
        if [[ $elfoutput != *"library: [${dep_soname}]"* ]]; then
            ANDROID_BUILD_FAIL+=("Library ${soname} was expected to be linked to library with soname:")
            ANDROID_BUILD_FAIL+=("  ${dep_soname}")
        fi
    done
The for xxx syntax is wrong, most probably a typo somewhere.

Solution: Fix & complete the for xxx loop.

Tested with & without LIBSODIUM (only available dependent library for LIBZMQ).

Fixed in LIBZMQ (https://github.com/zeromq/libzmq/pull/4431), reported to ZPROJECT.

zeromq/zproject,zeromq/zproject,zeromq/zproject