diff --git a/abuild.in b/abuild.in
index febf893cc9be76817edbe603fe174406913d22d7..0bf9d475beec3e4720f0898fe9dfc0a065483cd2 100755
--- a/abuild.in
+++ b/abuild.in
@@ -974,7 +974,10 @@ scan_shared_objects() {
 			# filter out sonames with version when file does not
 			# have version
 			case "$soname" in
-			*.so.[0-9]*) continue;;
+			*.so.[0-9]*)
+				if options_has "sover-namecheck"; then
+					continue
+				fi
 			esac
 			;;
 		esac