Fix library finding.

This commit is contained in:
Jelmer Vernooij 2021-03-26 01:57:00 +00:00
parent ab8ecbd8bd
commit 16a59557f2
No known key found for this signature in database
GPG key ID: 579C160D4C9E23E8

View file

@ -364,7 +364,7 @@ def resolve_library_req(apt_mgr, req):
posixpath.join("/usr/lib/lib%s.a$" % re.escape(req.library)),
posixpath.join("/usr/lib/.*/lib%s.a$" % re.escape(req.library)),
]
return find_reqs_simple(apt_mgr, paths)
return find_reqs_simple(apt_mgr, paths, regex=True)
def resolve_ruby_file_req(apt_mgr, req):