projects
/
platform
/
upstream
/
at-spi2-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
meson: x11 fixes
[platform/upstream/at-spi2-core.git]
/
registryd
/
meson.build
diff --git
a/registryd/meson.build
b/registryd/meson.build
index
5de6902
..
eb8236e
100644
(file)
--- a/
registryd/meson.build
+++ b/
registryd/meson.build
@@
-16,15
+16,18
@@
registryd_deps = [
dl_dep,
]
dl_dep,
]
-if x11_dep.found()
- registryd_sources += [
- 'deviceeventcontroller-x11.c',
- 'display.c',
- 'event-source.c',
- 'ucs2keysym.c',
- ]
+x11_option = get_option('enable-x11')
+if x11_option != 'no'
+ if x11_dep.found()
+ registryd_sources += [
+ 'deviceeventcontroller-x11.c',
+ 'display.c',
+ 'event-source.c',
+ 'ucs2keysym.c',
+ ]
- registryd_deps += x11_deps
+ registryd_deps += x11_deps
+ endif
endif
executable('at-spi2-registryd', registryd_sources,
endif
executable('at-spi2-registryd', registryd_sources,