Tools: fixed scripting build with --out on configure line

thanks to Henry for noticing
This commit is contained in:
Andrew Tridgell 2020-05-16 10:09:15 +10:00
parent c0fae0b1fb
commit c5c171b359

View File

@ -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: