protoc: fix generation of include directories when having nested wscripts

This commit is contained in:
fedepell 2018-03-05 16:01:44 +01:00 committed by ita1024
parent a02c6d8727
commit e9eca13d92
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ def process_protoc(self, node):
# For C++ standard include files dirs are used,
# but this doesn't apply to Python for example
for incpath in getattr(self, 'protoc_includes', []):
incdirs.append(self.bld.path.find_node(incpath).bldpath())
incdirs.append(self.path.find_node(incpath).bldpath())
tsk.env.PROTOC_INCPATHS = incdirs
# PR2115: protoc generates output of .proto files in nested