mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Add FreeBSD compatibility
This commit is contained in:
parent
c39bfe7f84
commit
a5fe9aa736
17 changed files with 283 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue