diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-10-27 10:07:48 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-12-17 14:47:18 -0800 |
| commit | 4abca7cad31d68dc453d533858e5b6ed1468d660 (patch) | |
| tree | da7659ac6b87be49b85e771f18591184de77061f /mesonbuild/dependencies/pkgconfig.py | |
| parent | 195dab0ea81986fe8cdcec6072fa67f978af3135 (diff) | |
| download | meson-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.py | 4 |
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, |
