diff options
Diffstat (limited to 'backend/meson.build')
-rw-r--r-- | backend/meson.build | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/backend/meson.build b/backend/meson.build index cf62a56f..5ed7b227 100644 --- a/backend/meson.build +++ b/backend/meson.build @@ -1,7 +1,6 @@ backend_files = files( 'backend.c', 'session/direct-ipc.c', - 'session/direct.c', 'session/session.c', 'drm/atomic.c', 'drm/backend.c', @@ -26,6 +25,12 @@ backend_files = files( 'x11/backend.c', ) +if host_machine.system().startswith('freebsd') + backend_files += files('session/direct-freebsd.c') +else + backend_files += files('session/direct.c') +endif + if systemd.found() backend_files += files('session/logind.c') endif |