tests/tcg/loongarch64: Add fp comparison instructions test
[qemu/rayw.git] / plugins / meson.build
blobfa12047327189b5a8781b1d1f70a3d98d37fb8b9
1 plugin_ldflags = []
2 # Modules need more symbols than just those in plugins/qemu-plugins.symbols
3 if not enable_modules
4   if targetos == 'darwin'
5     qemu_plugins_symbols_list = configure_file(
6       input: files('qemu-plugins.symbols'),
7       output: 'qemu-plugins-ld64.symbols',
8       capture: true,
9       command: ['sed', '-ne', 's/^[[:space:]]*\\(qemu_.*\\);/_\\1/p', '@INPUT@'])
10     plugin_ldflags = ['-Wl,-exported_symbols_list,plugins/qemu-plugins-ld64.symbols']
11   else
12     plugin_ldflags = ['-Xlinker', '--dynamic-list=' + (meson.project_source_root() / 'plugins/qemu-plugins.symbols')]
13   endif
14 endif
16 specific_ss.add(when: 'CONFIG_PLUGIN', if_true: [files(
17   'loader.c',
18   'core.c',
19   'api.c',
20 ), declare_dependency(link_args: plugin_ldflags)])