Compile lnx_platform.c on FreeBSD too.

This commit is contained in:
Austin Shafer 2023-10-05 20:03:42 +03:00 committed by Alan Coopersmith
parent 84ff599d0b
commit 947d1c7ecf

View File

@ -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'