Fix android build fail check when using a different locale than english

This commit is contained in:
Benjamin Deroche 2019-10-28 16:07:26 +01:00
parent 0d0899bc0d
commit c995032595

View File

@ -248,7 +248,7 @@ function android_build_verify_so {
fi
android_build_check_fail
local elfoutput=$($readelf_bin -d ${sofile})
local elfoutput=$(LC_ALL=C $readelf_bin -d ${sofile})
local soname_regexp='soname: \[([[:alnum:]\.]+)\]'
if [[ $elfoutput =~ $soname_regexp ]]; then