diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2018-04-16 09:39:09 +0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-04-16 12:06:51 -0400 |
commit | c3ae963a7b19e05b8296aae8b6354587756d48fa (patch) | |
tree | 1e00af44f96a259ce8dab5343c6a953d00948cf2 /hw/xwayland/Makefile.am | |
parent | bf147f67b2b7170fcc5cca07192f6b195dce85e5 (diff) |
xwayland: Fix build without glamor
Present support in Xwayland relies on glamor, make sure Xwayland can
be built without glamor by moving references to Present code inside
the conditional GLAMOR_HAS_GBM.
Reported-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Roman Gilg <subdiff@gmail.com>
Diffstat (limited to 'hw/xwayland/Makefile.am')
-rw-r--r-- | hw/xwayland/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwayland/Makefile.am b/hw/xwayland/Makefile.am index 0291afee7..80d3a1f19 100644 --- a/hw/xwayland/Makefile.am +++ b/hw/xwayland/Makefile.am @@ -11,7 +11,6 @@ Xwayland_CFLAGS = \ Xwayland_SOURCES = \ xwayland.c \ - xwayland-present.c \ xwayland-input.c \ xwayland-cursor.c \ xwayland-shm.c \ @@ -35,7 +34,8 @@ Xwayland_built_sources = if GLAMOR_EGL Xwayland_SOURCES += \ - xwayland-glamor.c + xwayland-glamor.c \ + xwayland-present.c if XV Xwayland_SOURCES += \ xwayland-glamor-xv.c |