Commit fccc4a4a authored by Sandro Knauß's avatar Sandro Knauß Committed by Ben Cooksley

create-abi-dump: Do not break for library, that doesn't have a SONAME.

Differential Revision: https://phabricator.kde.org/D19410
parent 3eb3369b
Pipeline #1199 skipped with stage
......@@ -200,7 +200,10 @@ class Library:
# The path to the CMake library package
# Any include directories specified by the CMake library package
try:
relib= re.match("^(?P<name>.*)\.so\.(?P<SONAME>.*)$", value["IMPORTED_SONAME_DEBUG"][0])
relib= re.match("^(?P<name>.*)\.so(\.(?P<SONAME>.*))?$", 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],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment