From 70699f3b0354fc717270c5a614ed65d9a60341f2 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Wed, 25 May 2016 17:58:01 +0300 Subject: Add testcase for issue #203 --- tests/site_scons/site_tools/nanopb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/site_scons') diff --git a/tests/site_scons/site_tools/nanopb.py b/tests/site_scons/site_tools/nanopb.py index b3e58fa1..c72a45d3 100644 --- a/tests/site_scons/site_tools/nanopb.py +++ b/tests/site_scons/site_tools/nanopb.py @@ -118,7 +118,7 @@ def generate(env): env.SetDefault(PROTOCPATH = ['.', os.path.join(env['NANOPB'], 'generator', 'proto')]) - env.SetDefault(NANOPB_PROTO_CMD = '$PROTOC $PROTOC_OPTS --nanopb_out=. $SOURCE') + env.SetDefault(NANOPB_PROTO_CMD = '$PROTOC $PROTOCFLAGS --nanopb_out=. $SOURCES') env['BUILDERS']['NanopbProto'] = _nanopb_proto_builder def exists(env): -- cgit 1.2.3-korg