2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2025-01-11 19:05:04 +01:00

Issue 1125

This commit is contained in:
Thomas Nagy 2012-03-10 19:22:40 +01:00
parent 4680cd544a
commit 8bfddb955e

View File

@ -1017,7 +1017,7 @@ def scan(task):
raise Errors.WafError('%r is missing a feature such as "c", "cxx" or "includes": ' % task.generator)
if go_absolute:
nodepaths = incn + standard_includes
nodepaths = incn + [task.generator.bld.root.find_dir(x) for x in standard_includes]
else:
nodepaths = [x for x in incn if x.is_child_of(x.ctx.srcnode) or x.is_child_of(x.ctx.bldnode)]