diff options
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 | ||||
-rw-r--r-- | mesonbuild/modules/gnome.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 463c4c6..f69f64f 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -2744,7 +2744,7 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485''')) return linker.get_link_whole_for(target_args) if target_args else [] @lru_cache(maxsize=None) - def guess_library_absolute_path(self, linker, libname, search_dirs, patterns): + def guess_library_absolute_path(self, linker, libname, search_dirs, patterns) -> Path: for d in search_dirs: for p in patterns: trial = CCompiler._get_trials_from_pattern(p, d, libname) diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 95860d6..0a72ad6 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -510,7 +510,7 @@ class GnomeModule(ExtensionModule): return self.gir_dep, self.giscanner, self.gicompiler @functools.lru_cache(maxsize=None) - def _gir_has_option(self, option): + def _gir_has_option(self, option) -> bool: exe = self.giscanner if hasattr(exe, 'held_object'): exe = exe.held_object |