From 947d1c7ecf5571cdb4028d20e3b06e70d18c2672 Mon Sep 17 00:00:00 2001 From: Austin Shafer Date: Thu, 5 Oct 2023 20:03:42 +0300 Subject: [PATCH] Compile lnx_platform.c on FreeBSD too. --- hw/xfree86/os-support/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'