mirror of https://github.com/mpv-player/mpv
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:
parent
9a6d7af074
commit
b34621e1b1
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue