diff --git a/helpers/create-abi-dump.py b/helpers/create-abi-dump.py --- a/helpers/create-abi-dump.py +++ b/helpers/create-abi-dump.py @@ -200,7 +200,10 @@ # The path to the CMake library package # Any include directories specified by the CMake library package try: - relib= re.match("^(?P.*)\.so\.(?P.*)$", value["IMPORTED_SONAME_DEBUG"][0]) + relib= re.match("^(?P.*)\.so(\.(?P.*))?$", value["IMPORTED_SONAME_DEBUG"][0]) + if not relib.group("SONAME"): + logging.warning('%s has no SONAME (maybe only a internal library?)', value["IMPORTED_SONAME_DEBUG"][0]) + target = { "SONAME": relib.group("SONAME"), "path": value["IMPORTED_LOCATION_DEBUG"][0],