From b34621e1b13c82659d00f3d3e032f590eeb95faf Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 5 Aug 2014 12:13:27 +0200 Subject: [PATCH] build: syms: fix *.def file for mach-o binary format There was a missing trailing newline which caused some warnings when calling `ld`. --- waftools/syms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waftools/syms.py b/waftools/syms.py index ff53078260..e8a37c1a11 100644 --- a/waftools/syms.py +++ b/waftools/syms.py @@ -28,7 +28,7 @@ class compile_sym(Task): elif self.env.DEST_BINFMT == 'elf': self.outputs[0].write('{ global:\n' + ';\n'.join(lsyms) + ";\nlocal: *; };\n") elif self.env.DEST_BINFMT == 'mac-o': - self.outputs[0].write('\n'.join("_"+sym for sym in lsyms)) + self.outputs[0].write('\n'.join("_"+sym for sym in lsyms) + '\n') else: raise WafError('NotImplemented')