ppc/pnv: Drop the "num-phbs" property
[qemu.git] / plugins / meson.build
blobb3de57853bf9f0c51d4a4fcfea8925433f48f969
1 plugin_ldflags = []
2 # Modules need more symbols than just those in plugins/qemu-plugins.symbols
3 if not enable_modules
4   if 'CONFIG_HAS_LD_DYNAMIC_LIST' in config_host
5     plugin_ldflags = ['-Wl,--dynamic-list=qemu-plugins-ld.symbols']
6   elif 'CONFIG_HAS_LD_EXPORTED_SYMBOLS_LIST' in config_host
7     plugin_ldflags = ['-Wl,-exported_symbols_list,qemu-plugins-ld64.symbols']
8   endif
9 endif
11 specific_ss.add(when: 'CONFIG_PLUGIN', if_true: [files(
12   'loader.c',
13   'core.c',
14   'api.c',
15 ), declare_dependency(link_args: plugin_ldflags)])