2 # Modules need more symbols than just those in plugins/qemu-plugins.symbols
4 if targetos == 'darwin'
6 input: files('qemu-plugins.symbols'),
7 output: 'qemu-plugins-ld64.symbols',
9 command: ['sed', '-ne', 's/^[[:space:]]*\\(qemu_.*\\);/_\\1/p', '@INPUT@'])
10 plugin_ldflags = ['-Wl,-exported_symbols_list,plugins/qemu-plugins-ld64.symbols']
12 plugin_ldflags = ['-Xlinker', '--dynamic-list=' + (meson.project_source_root() / 'plugins/qemu-plugins.symbols')]
16 if get_option('plugins')
17 specific_ss.add(files(
21 ), declare_dependency(link_args: plugin_ldflags))