1
mirror of https://github.com/mpv-player/mpv synced 2024-10-02 16:25:33 +02:00

build: syms: fix *.def file for mach-o binary format

There was a missing trailing newline which caused some warnings when calling
`ld`.
This commit is contained in:
Stefano Pigozzi 2014-08-05 12:13:27 +02:00
parent 9a6d7af074
commit b34621e1b1

View File

@ -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')