reverting r522e3fb43a1dca184aa346a0cf00ac6bc83b3366 - Issue 1338

This commit is contained in:
Thomas Nagy 2015-02-08 18:51:39 +01:00
parent 1985579cb4
commit e22f7b0cc2
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 2 additions and 1 deletions

View File

@ -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: