From a1a662b23f4c9e2d072dc3a813d276537c488fb7 Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Fri, 16 Dec 2016 04:51:07 -0800 Subject: [PATCH] Build fix for C/C++ example programs. --- scripts/mk_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mk_util.py b/scripts/mk_util.py index 890c60501..cdd7bdeec 100644 --- a/scripts/mk_util.py +++ b/scripts/mk_util.py @@ -2086,12 +2086,12 @@ class CppExampleComponent(ExampleComponent): exefile = '%s$(EXE_EXT)' % self.name out.write('%s: %s %s\n' % (exefile, dll, objfiles)) - out.write('\t$(SLINK) $(SLINK_OUT_FLAG)%s $(SLINK_FLAGS) %s ' % (exefile, objfiles)) + out.write('\t$(LINK) $(LINK_OUT_FLAG)%s $(LINK_FLAGS) %s ' % (exefile, objfiles)) if IS_WINDOWS: out.write('%s.lib' % dll_name) else: out.write(dll) - out.write(' $(SLINK_EXTRA_FLAGS)\n') + out.write(' $(LINK_EXTRA_FLAGS)\n') out.write('_ex_%s: %s\n\n' % (self.name, exefile)) class CExampleComponent(CppExampleComponent):