mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: ap_library: make headers whitelist portable
Otherwise it won't work for platforms that don't use Unix style paths.
This commit is contained in:
parent
733786830d
commit
87862a08ab
@ -134,6 +134,7 @@ class ap_library_check_headers(Task.Task):
|
||||
whitelist = (
|
||||
'libraries/AP_Vehicle/AP_Vehicle_Type.h',
|
||||
)
|
||||
whitelist = tuple(os.path.join(*p.split('/')) for p in whitelist)
|
||||
|
||||
def run(self):
|
||||
for n in self.headers:
|
||||
|
Loading…
Reference in New Issue
Block a user