Skip to content

Workaround Ninja limitation with path canonicalization

Peter Wu requested to merge Lekensteyn/cmake:ninja-clang-depfile-fix into master

Ninja canonicalizes file paths from GCC-style dependency files without querying the filesystem. This breaks when symbolic links are combined with ".." components (as produced by Clang). As a workaround, execute a fixup command after compiling the object.

The lexer was generated with flex 2.6.4.

Issue: #17330

Merge request reports