From e22f7b0cc26f5e6b4e21e44d6fa88b5891a9e67f Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sun, 8 Feb 2015 18:51:39 +0100 Subject: [PATCH] reverting r522e3fb43a1dca184aa346a0cf00ac6bc83b3366 - Issue 1338 --- waflib/extras/protoc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/waflib/extras/protoc.py b/waflib/extras/protoc.py index 8ae3ad20..e92e65df 100644 --- a/waflib/extras/protoc.py +++ b/waflib/extras/protoc.py @@ -81,7 +81,8 @@ 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=%s' % node.parent.get_bld().abspath() + #self.env.PROTOC_FLAGS = '--cpp_out=%s' % node.parent.get_bld().abspath() # <- this does not work + self.env.PROTOC_FLAGS = '--cpp_out=.' use = getattr(self, 'use', '') if not 'PROTOBUF' in use: