Call correct fn.

This commit is contained in:
Jelmer Vernooij 2021-03-23 18:41:37 +00:00
parent b1d2012b18
commit 834d858adb

View file

@ -249,7 +249,7 @@ def resolve_c_header_req(apt_mgr, req):
apt_mgr, apt_mgr,
[posixpath.join("/usr/include", req.header)], regex=False) [posixpath.join("/usr/include", req.header)], regex=False)
if not reqs: if not reqs:
reqs = find_package_names( reqs = find_reqs_simple(
apt_mgr, apt_mgr,
[posixpath.join("/usr/include", ".*", re.escape(req.header))], regex=True [posixpath.join("/usr/include", ".*", re.escape(req.header))], regex=True
) )