added check for zero soname version

This commit is contained in:
Дмитрий Левин 2002-06-13 16:04:33 +00:00
parent c0574eb4aa
commit be83329a8f

View File

@ -143,7 +143,7 @@ FindLibProvs()
echo -E "$d" | awk "-vsoname=$soname" '
BEGIN {START=0;}
/^Version definitions:$/ {START=1;}
/^[0-9]/ && (START==1) && ($4!=soname) {printf("%s(%s)\n",soname,$4);}
/^[0-9]/ && (START==1) && ($4!="") && ($4!=soname) {printf("%s(%s)\n",soname,$4);}
/^$/ { START=0; }
'
fi