From 87862a08ab48929950021f3ca2f8490db04d3e9a Mon Sep 17 00:00:00 2001 From: Gustavo Jose de Sousa Date: Fri, 26 Aug 2016 11:45:42 -0300 Subject: [PATCH] waf: ap_library: make headers whitelist portable Otherwise it won't work for platforms that don't use Unix style paths. --- Tools/ardupilotwaf/ap_library.py | 1 + 1 file changed, 1 insertion(+) 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: