hw/ppc/fdt.c defines the ppc_create_page_sizes_prop() function, which is unrelated to the libfdt. Remove the incorrect library dependency on the file.
Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> --- hw/ppc/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ppc/meson.build b/hw/ppc/meson.build index e82a6b4105b..580e6e42c8a 100644 --- a/hw/ppc/meson.build +++ b/hw/ppc/meson.build @@ -3,9 +3,9 @@ 'ppc.c', 'ppc_booke.c', )) -ppc_ss.add(when: 'CONFIG_FDT_PPC', if_true: [files( +ppc_ss.add(when: 'CONFIG_FDT_PPC', if_true: files( 'fdt.c', -), fdt]) +)) ppc_ss.add(when: 'CONFIG_FW_CFG_PPC', if_true: files('fw_cfg.c')) # IBM pSeries (sPAPR) -- 2.26.3