summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/backend/backends.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 18caf7bbe..66513720d 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -825,6 +825,7 @@ class Backend:
return tuple(result)
@staticmethod
+ @lru_cache(maxsize=None)
def canonicalize_filename(fname: str) -> str:
parts = Path(fname).parts
hashed = ''