From 522e3fb43a1dca184aa346a0cf00ac6bc83b3366 Mon Sep 17 00:00:00 2001 From: Alexander Afanasyev Date: Tue, 26 Feb 2013 20:37:16 -0800 Subject: [PATCH] protoc: small correction Signed-off-by: Thomas Nagy --- waflib/extras/protoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/extras/protoc.py b/waflib/extras/protoc.py index d768a110..fc4e4458 100644 --- a/waflib/extras/protoc.py +++ b/waflib/extras/protoc.py @@ -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: