Skip to content

Commit 0cfa96c

Browse files
authored
Merge pull request #4170 from theotherjimmy/fix-include-paths
Fix include paths for Windows builds
2 parents de6cce7 + 7c40343 commit 0cfa96c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/toolchains/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ def _add_dir(self, path, resources, base_path, exclude_paths=None):
612612
break
613613

614614
# Add root to include paths
615+
root = root.rstrip("/")
615616
resources.inc_dirs.append(root)
616617
resources.file_basepath[root] = base_path
617618

0 commit comments

Comments
 (0)