From c5c171b359e05a10dab039cb96a818e89f2b2712 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 16 May 2020 10:09:15 +1000 Subject: [PATCH] Tools: fixed scripting build with --out on configure line thanks to Henry for noticing --- Tools/ardupilotwaf/ap_library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/ardupilotwaf/ap_library.py b/Tools/ardupilotwaf/ap_library.py index a2a05238ee..1368d3c12f 100644 --- a/Tools/ardupilotwaf/ap_library.py +++ b/Tools/ardupilotwaf/ap_library.py @@ -62,7 +62,7 @@ _depends_on_vehicle_cache = {} def _depends_on_vehicle(bld, source_node): path = source_node.srcpath() - if path.startswith('build/'): + if path.startswith(bld.env.BUILDROOT) or path.startswith("build/"): _depends_on_vehicle_cache[path] = False if path not in _depends_on_vehicle_cache: