mirror of https://gitlab.com/ita1024/waf.git
reverting r522e3fb43a1dca184aa346a0cf00ac6bc83b3366 - Issue 1338
This commit is contained in:
parent
1985579cb4
commit
e22f7b0cc2
|
@ -81,7 +81,8 @@ def process_protoc(self, node):
|
||||||
self.source.append(cpp_node)
|
self.source.append(cpp_node)
|
||||||
|
|
||||||
if 'cxx' in self.features and not self.env.PROTOC_FLAGS:
|
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', '')
|
use = getattr(self, 'use', '')
|
||||||
if not 'PROTOBUF' in use:
|
if not 'PROTOBUF' in use:
|
||||||
|
|
Loading…
Reference in New Issue