From 16a59557f2ee40aeb9f4201913c6add48cb45a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Fri, 26 Mar 2021 01:57:00 +0000 Subject: [PATCH] Fix library finding. --- ognibuild/resolver/apt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ognibuild/resolver/apt.py b/ognibuild/resolver/apt.py index cfd67a3..e98374a 100644 --- a/ognibuild/resolver/apt.py +++ b/ognibuild/resolver/apt.py @@ -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):