def get_library_dirs(self, env: 'Environment',
                         elf_class: T.Optional[int] = None) -> T.List[str]:
        """Wrap the lru_cache so that we return a new copy and don't allow
        mutation of the cached value.
        """
        return self._get_library_dirs(env, elf_class).copy()
Wrap the lru_cache so that we return a new copy and don't allow
        mutation of the cached value.
        
mesonbuild/compilers/mixins/clike.py