protoc: small correction

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
This commit is contained in:
Alexander Afanasyev 2013-02-26 20:37:16 -08:00 committed by Thomas Nagy
parent 01ef0ed313
commit 522e3fb43a
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def process_protoc(self, node):
self.source.append(cpp_node)
if 'cxx' in self.features and not self.env.PROTOC_FLAGS:
self.env.PROTOC_FLAGS = '--cpp_out=.'
self.env.PROTOC_FLAGS = '--cpp_out=%s' % node.parent.get_bld().abspath()
use = getattr(self, 'use', '')
if not 'PROTOBUF' in use: