summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/pkgconfig.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-10-27 10:07:48 -0700
committerDylan Baker <dylan@pnwbakers.com>2025-12-17 14:47:18 -0800
commit4abca7cad31d68dc453d533858e5b6ed1468d660 (patch)
treeda7659ac6b87be49b85e771f18591184de77061f /mesonbuild/dependencies/pkgconfig.py
parent195dab0ea81986fe8cdcec6072fa67f978af3135 (diff)
downloadmeson-4abca7cad31d68dc453d533858e5b6ed1468d660.tar.gz
dependencies: Remove `log_tried` method
It's now only used to populate the DependencyCandidate, so we can remove it and just calculate the same information from the `type_name` parameter. This reduces code and the number of method calls.
Diffstat (limited to 'mesonbuild/dependencies/pkgconfig.py')
-rw-r--r--mesonbuild/dependencies/pkgconfig.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/mesonbuild/dependencies/pkgconfig.py b/mesonbuild/dependencies/pkgconfig.py
index 938c77da4..2a4e91d8d 100644
--- a/mesonbuild/dependencies/pkgconfig.py
+++ b/mesonbuild/dependencies/pkgconfig.py
@@ -585,10 +585,6 @@ class PkgConfigDependency(ExternalDependency):
# a path rather than the raw dlname
return os.path.basename(dlname)
- @staticmethod
- def log_tried() -> str:
- return 'pkgconfig'
-
def get_variable(self, *, cmake: T.Optional[str] = None, pkgconfig: T.Optional[str] = None,
configtool: T.Optional[str] = None, internal: T.Optional[str] = None,
system: T.Optional[str] = None, default_value: T.Optional[str] = None,