python: fix build after change in Spec.dependencies signature (#29480)

fixes #29478

As was written Python was looking for dependencies named "link"
rather than dependencies of type "link".
This commit is contained in:
Massimiliano Culpo 2022-03-13 03:42:21 +01:00 committed by GitHub
parent 8adc6b7e8e
commit 2c11d5f2a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -443,7 +443,7 @@ def configure_args(self):
# setup.py needs to be able to read the CPPFLAGS and LDFLAGS
# as it scans for the library and headers to build
link_deps = spec.dependencies('link')
link_deps = spec.dependencies(deptype='link')
if link_deps:
# Header files are often included assuming they reside in a