1

fix windows include root path

This commit is contained in:
Fabian Hahn 2022-12-11 14:53:37 +00:00 committed by Motiejus Jakštys
parent 8bc78753e2
commit 43b6e1c0c1

View File

@ -318,6 +318,6 @@ def declare_files(os):
for target_config in target_structs(): for target_config in target_structs():
for d in _DEFAULT_INCLUDE_DIRECTORIES + target_config.includes: for d in _DEFAULT_INCLUDE_DIRECTORIES + target_config.includes:
d = "lib" + ("\\" if os == "windows" else "/") + d d = "lib/" + d
if d not in lazy_filegroups: if d not in lazy_filegroups:
lazy_filegroups[d] = filegroup(name = d, srcs = native.glob([d + "/**"])) lazy_filegroups[d] = filegroup(name = d, srcs = native.glob([d + "/**"]))