diff --git a/Tools/ardupilotwaf/ap_library.py b/Tools/ardupilotwaf/ap_library.py index 1d567c5878..d4023cac74 100644 --- a/Tools/ardupilotwaf/ap_library.py +++ b/Tools/ardupilotwaf/ap_library.py @@ -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: