diff --git a/hw/xfree86/os-support/meson.build b/hw/xfree86/os-support/meson.build index 4c58cd327..e9b0bcd59 100644 --- a/hw/xfree86/os-support/meson.build +++ b/hw/xfree86/os-support/meson.build @@ -97,9 +97,13 @@ elif host_machine.system().endswith('bsd') 'bsd/bsd_bell.c', 'bsd/bsd_init.c', 'shared/drm_platform.c', - 'shared/pm_noop.c' + 'shared/pm_noop.c' ] + if host_machine.system() == 'freebsd' + srcs_xorg_os_support += ['linux/lnx_platform.c', 'misc/SlowBcopy.c'] + endif + if host_machine.cpu_family() == 'x86_64' srcs_xorg_os_support += 'bsd/i386_video.c' if host_machine.system() == 'netbsd'