]>
Commit | Line | Data |
---|---|---|
64ed6f92 PB |
1 | if 'CONFIG_HAS_LD_DYNAMIC_LIST' in config_host |
2 | plugin_ldflags = ['-Wl,--dynamic-list=' + (meson.build_root() / 'qemu-plugins-ld.symbols')] | |
3 | elif 'CONFIG_HAS_LD_EXPORTED_SYMBOLS_LIST' in config_host | |
4 | plugin_ldflags = ['-Wl,-exported_symbols_list,' + (meson.build_root() / 'qemu-plugins-ld64.symbols')] | |
5 | else | |
6 | plugin_ldflags = [] | |
7 | endif | |
8 | ||
f556b4a1 PB |
9 | specific_ss.add(when: 'CONFIG_PLUGIN', if_true: [files( |
10 | 'loader.c', | |
11 | 'core.c', | |
12 | 'api.c', | |
64ed6f92 | 13 | ), declare_dependency(link_args: plugin_ldflags)]) |