2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-23 02:16:01 +01:00

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

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: