From 5cb4b1d18811d8a432302c26f792c14668600502 Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Thu, 29 Oct 2015 13:06:48 +0000 Subject: [PATCH] Fix for example build rules. --- scripts/mk_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mk_util.py b/scripts/mk_util.py index c762d518e..1c93bc39e 100644 --- a/scripts/mk_util.py +++ b/scripts/mk_util.py @@ -1588,7 +1588,7 @@ class CppExampleComponent(ExampleComponent): # Add include dir components out.write(' -I%s' % get_component(API_COMPONENT).to_src_dir) out.write(' -I%s' % get_component(CPP_COMPONENT).to_src_dir) - out.write(' %s' % cppfile) + out.write(' %s' % os.path.join(self.to_ex_dir, cppfile)) out.write('\n') exefile = '%s$(EXE_EXT)' % self.name