script/addToolsVersion: fix eglibc version separator

eglibc uses '_', not '.' to separate major/minor.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
Yann E. MORIN" 2012-12-26 13:44:43 +01:00
parent bbe3c1ee13
commit 1e449846a5

View File

@ -141,8 +141,8 @@ addToolVersion() {
;; ;;
eglibc) eglibc)
# Extract 'M'ajor and 'm'inor from version string # Extract 'M'ajor and 'm'inor from version string
ver_M=$(getVersionField "${version}" . 1) ver_M=$(getVersionField "${version}" _ 1)
ver_m=$(getVersionField "${version}" . 2) ver_m=$(getVersionField "${version}" _ 2)
if [ \( ${ver_M} -eq 2 -a ${ver_m} -ge 16 \) ]; then if [ \( ${ver_M} -eq 2 -a ${ver_m} -ge 16 \) ]; then
SedExpr1="${SedExpr1}\n select LIBC_EGLIBC_2_16_or_later" SedExpr1="${SedExpr1}\n select LIBC_EGLIBC_2_16_or_later"
fi fi